Browsing articles tagged with "process - 4/8 - Admins Goodies"
Aug 21, 2011
tom

Change EUID of running process

On Linux how can I change EUID of running process from command line (provided I have root access)? Thanks I don’t think you can, I am not aware of any syscall that lets you change the effective user id of any process but the calling process. Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Print for later Bookmark in […]

Continue Reading »
Aug 21, 2011
tom

put a job in the bg and run it?

I know there are two or more ways to run a job and place it in the background. Right now I used ctrl-z to put a scp transfer in the background because I noticed it was going to take a while. How do I run the process in the background so I can write other commands while I wait until it’s done? Note: I can create a new terminal however in this case I SSH’d […]

Continue Reading »
Aug 21, 2011
tom

how to maitain the authentication details/passwords in a 50 people company

What is the process that you guys follow to maintain authentication details like login ids and passwords? There will be definitely some shared passwords. So, the target is to minimize the impact when someone is leaving the company. By “shared password”, I mean, the account, which is shared among multiple people in the company. The issues that the process should address are: – Affected areas. Quickly find the resources to which the leaving user was […]

Continue Reading »
Aug 20, 2011
tom

Why one process is taking so many resources

My website is being very slow or non-responsive. A quick look at the top command shows me something like this: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1709 mysql 20 0 828m 432m 5584 S 382.6 5.4 7414:24 mysqld The rest of the processes are way below those values. Obviously MySQL is having some issues. How can I check what is actually going on and why does it take so […]

Continue Reading »
Aug 20, 2011
tom

Windows Server 2003 System Process continuously growing number of handles

On a server running Windows 2003 Standard edition, the System process is sitting at 0-1% CPU usage, but under Task manager and Process Explorer it shows the number of handles at over 900,000 and is continuing to increase. The server is running IIS and SQL Server, which are the primary duties of the server. McAfee anti-virus is also installed, and that’s about it. This is a new server we’re trying to bring up, very little […]

Continue Reading »
Aug 20, 2011
tom

How to log adjustments made to a Linux machine for duplicating same steps on other machines, for documentation and for undo

I’m looking for method or methods and automation tools to log the adjustments I make to a Linux machine. Such adjustments would be: Installation of new software/software components via apt-get, including forcing particular versions to be installed Installation of Perl modules Use of make install, make process to meet the goals of the above items Changes to paths and environment variables Just about any kind of change you can do to a Linux machine Logging […]

Continue Reading »
Aug 20, 2011
tom

kill both parent and child processes

I am running a bash script as a background job. The bash script calls a time-consuming executable. If I am not wrong, the running of the bash script is the parent process and the running of the executable is the child process. (1) when I look at the output of top, it only shows the child process which is the running of the executable, not shows the parent process which is the running of the […]

Continue Reading »
Aug 20, 2011
tom

order of killing parent and child processes

It seems to me killing either of parent and child processes will not affect the other. So if want to kill a parent process and all its child processes, I guess I have to kill them one by one. I wonder which way is better: kill the parent first then the child, or kill the child first then the parent. If there is any way to kill a parent process and all its children and […]

Continue Reading »
Aug 20, 2011
tom

uninterruptible sleep

I have some process that is in uninterruptible sleep due to limited memory. After I kill other processes, there is enough memory available for it now. How do I change the status of the process from uninterruptible sleep to normal running? Or the OS will automatically make the change? Or do I have to kill it and start it agian? Thanks and regards! Uninterruptible means uninterruptible. You can’t kill it without a reboot and you […]

Continue Reading »
Aug 19, 2011
tom

How to choose a printer for a mixed windows/mac office?

I am working on a process for choosing and purchasing a printer for a small office. Has anyone got advice on how to weigh criteria? We’ve already got two devices that meet some needs, and are open to several different new machines if that’s best. Buy the cheapest HP LaserJet available that supports PostScript and PCL 6. Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit […]

Continue Reading »