Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-15-2009, 08:19 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Smile enquiry about running a program on server!

Dear All,

I want to make an enquiry about running program on computer server. I submitted two jobs to the server and, after a while, I use 'jobs' command to check them and the results are shown below:
[1]- Running castep La & (wd: ~/work/Laanatase)
[2]+ Running castep Ce & (wd: ~/work/Ce)

I noticed that there are symbols '-' and '+' after the job numbers. Could anyone tell me what they mean?

I also used 'ps aux' command to check these two jobs and results are shown below:
kenan 806 292 1.9 966004 642820 pts/2 R1 Mar30 66626:02 castep La
kenan 25929 207 1.7 878616 573780 pts/2 R1 Apr10 14343:11 castep Ce

The 'STAT' of these two jobs are both 'R1'. I know 'R' means the program is running but I do not know what 'R1' means. Could anyone tell that?

I know what the '%CPU', '%MEM', 'vsz' and 'RSS' denote but I do not know what the data denote. For example, '%CPU' and '%MEM' of the first job is 292 and 1.9. Do these values denote the rpogram is running properly or not well? Could anyone tell me what the kind value denote the program is running properly?

Any great help appreciated!
Old 04-16-2009, 04:20 AM   #2
Registered: Apr 2009
Posts: 108

Rep: Reputation: 24
The 'ps' part is already answered in thread
Here are the different values that the s, stat and state output specifiers
(header "STAT" or "S") will display to describe the state of a process.
D Uninterruptible sleep (usually IO)
R Running or runnable (on run queue)
S Interruptible sleep (waiting for an event to complete)
T Stopped, either by a job control signal or because it is being traced.
W paging (not valid since the 2.6.xx kernel)
X dead (should never be seen)
Z Defunct ("zombie") process, terminated but not reaped by its parent.

For BSD formats and when the stat keyword is used, additional characters may
be displayed:
< high-priority (not nice to other users)
N low-priority (nice to other users)
L has pages locked into memory (for real-time and custom IO)
s is a session leader
l is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)
+ is in the foreground process group
I'm not sure if '+' has the same meaning for 'jobs', though it seems possible.

Last edited by Tinkster; 10-30-2010 at 03:15 PM.
Old 04-17-2009, 05:58 PM   #3
LQ Newbie
Registered: Apr 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for the information!

Originally Posted by maresmasb View Post
The 'ps' part is already answered in thread

I'm not sure if '+' has the same meaning for 'jobs', though it seems possible.
Thank you very much for this information. I know 'R' under 'STAT' column means the program is running or runnable but under the 'STAT' column of my program there is 'R1' symbol and I do not know what 'R1' symbol means. Would you please tell me the meanning of 'R1' symbol? I really appreciate your help!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
small enquiry regarding mutex navderm Programming 3 12-26-2008 08:30 PM
How to build a distro??? Enquiry only..... shugs81 Linux - Software 3 06-16-2008 06:19 AM
Running program from terminal with & does nothing, program stops DittoAlex Linux - General 1 10-05-2007 01:35 AM
Enquiry in using Slackware Linux with IBM x3550 server yiulun Slackware 3 01-11-2007 09:11 PM
Filecopy Using Sockets Without Explicitly Running Server Side Program. chaits Linux - Networking 3 03-11-2004 02:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration