1
vote
1answer
38 views

Windows process management tools

Unix has tools like upstart, angel, god, etc to keep processes running constantly on system start and can restart processes that have failed. Does windows have the ability to do this natively?
1
vote
2answers
75 views

If I know the PID number of a process can I know its name?

If I have the PID number for a process (on a UNIX machine), how can I know the name of its associated process? What do I have to do?
1
vote
1answer
196 views

List environment variables of a running process on AIX without character limit

Today I was trying to debug an issue where a process was not picking up the correct environmental variable. It took us hours before we realized that it wasn't picking up the correct variable. I tried ...
0
votes
1answer
278 views

Count how many rsync process are running on unix machine

I am using Unix machine $ uname -a SunOS machine-name 5.10 Generic_127112-11 i86pc i386 i86pc How would I get the number of rsync process running on my unix box. I tried $ ps -ef | grep rsync ...
0
votes
1answer
71 views

Linux released memory

If My process allocates some big memory and then deallocates, would top or gnome-system-monitor show that my memory usage of that process decreased ? or kernel will still reserve that memory for that ...
4
votes
4answers
2k views

What's a proper way of checking if a PID is running?

I have a .pid file, and I need to check if the process is running. So far I found two options kill -0 `cat something.pid` which prints out an error if the pid isn't running. I know this can be ...
0
votes
1answer
34 views

Tomcat Process occupying lot of Memory in UNIX BOX, how to reduce

I am using a play framework webapplication calling webservices, all these applications are deployed in one tomcat/apache server, when in production box, multiple process are started for tomcat which ...
3
votes
3answers
731 views

find page size and number of pages of a process in linux

Given a PID of the process running in Linux (latest kernel), how do I find out: The number of pages it is using The size of each page it is using (4K, 2MB or 1GB) This is for x86-64 architecture.
2
votes
4answers
1k views

UNIX permissions to allow group users to kill each others' processes

Let's say we have a group (dev) which has many users and a shared development directory with g+rwx permissions on all contained files. Is this setup sufficient so that any dev user can kill a process ...
6
votes
1answer
4k views

Putting a process in the background without stopping it - (ctrl+z)?

If I start a process by typing it in normally at the command line, such as wget http://site.com/bigfile.zip and then decide I want to move that to the background, I know that I can use something ...
1
vote
5answers
489 views

Is there a way I can queue long running tasks?

Is there a way I can do the following in a unix terminal: Start a long running process Add another long running process to start when the previous is done Repeat step 2 until I have queued the ...
3
votes
5answers
11k views

How to get pid of just started process

I want to start process (eg. myCommand) and get its pid (to allow to kill it later). I tried ps and filter by name, but I can not distinguish process by names myCommand ps ux | awk ...
5
votes
3answers
456 views

Does anyone know a simple way to monitor root process spawn

I want to exec a script when a new root process spawns. (on Linux) How can I simply do that ? Thanks
2
votes
4answers
237 views

Receive an email when a UNIX process fails

There is a process running on our server that fails every once in a while. I'd like to receive some sort of email notification whenever that happens. Is there a simple way to set that up?
0
votes
1answer
70 views

Without using a hypervisor, can a process be CPU throttled?

Using nice merely gives a "guideline" to the OS, not a hard requirement of priority (ie, if nothing else is begging for attention a nice level of 19 will utilize the full CPU). Is there a way to ...
1
vote
3answers
93 views

Opening an existing process

I am using Eclipse in Linux through a remote connection (xrdp). My internet got disconnected, so I got disconnected from the server while eclipse was running. Now I logged in again, and I do the ...
5
votes
3answers
163 views

Sort Active Processes in Unix

How can i sort active processes by total process time in unix?
10
votes
2answers
1k views

Linux/Debian - What does 'pee' in moreutils do?

I recently discovered the 'moreutils' package in Debian (and Ubuntu). It's a collection of convenient unix tools. One of the commands is 'pee'. The man page says: pee is like tee but for pipes. ...
1
vote
6answers
288 views

How to get *nix process file name

How can I find out what the program file name is for a running process?
48
votes
8answers
27k views

Environment variables of a running process on Unix?

This is to troubleshoot some problems related to environment variables .. On Windows, I could do this by using tool such as ProcessExplorer to select particular process and view values of each ...
1
vote
3answers
7k views

Getting full path of executables in ps auxwww output

Consider the following lines from a "ps auxwww" output: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 4262 0.0 0,1 76592 1104 s005 Ss 10:02am ...
5
votes
5answers
2k views

What's the best way of setting up a cron job to check that a long-running process is still going and if not, start it?

As per the title: What's the best way of setting up a cron job to check that a long-running process is still going and if not, start it? If I start a long-running process in cron, is it going to ...
0
votes
2answers
1k views

Oracle 9i Instance Memory Usage?

My question deals specifically with a way to tell how much memory is being used by an Oracle instance on a UNIX (Solaris) server. For example (I'm gonna really oversimplify this...), if I see that ...
20
votes
4answers
17k views

How to sort ps output by process start time?

Is there a way to sort ps output by process start time, so newest are either at the top or bottom ? On Linux ? On SysV5 ? On Mac ?