Is any one familiar with 'chkcpu' command ?


 
Thread Tools Search this Thread
# 1  
Is any one familiar with 'chkcpu' command ?

Hello,

I am using unix shell from a Unix emulator called ZOC. Basically, I checked my jobs using the command 'chkcpu'. What I get is something like this:

** cfdlab17 **
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
---------------------------------------------------------------------------------------------------------
5512 Loo 25 0 77712 56m 1680 R 99.3 2.8 4936:55 main_2.out

Notice under the command column, it shows the name of the file being executed. I am trying to find out if there is way to see the entire path of the command, similar to what one gets from the command 'pwd'.

Please help
# 2  
finding path

'which main_2.out' in your example will tell you which main_2.out the shell is using. Note this only tells you the instance of main_2.out the shell finds in $PATH. It does not necessarily mean there is not another one somewhere in the filestore
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #554
Difficulty: Medium
Using printf() in C, %d formats a decimal variable or literal.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

passing command output from one command to the next command in cshell

HI Guys, I hope you are well. I am trying to write a script that gets executed every time i open a shell (cshell). I have two questions about that 1) I need to enter these commands $ echo $DISPLAY $ setenv $DISPLAY output_of_echo_$display_command How can i write a... (2 Replies)
Discussion started by: kaaliakahn
2 Replies

2. Debian

HP ProLiant DL380 G4 w/ Debian... If your familiar with this machine please help.

Hello, I have a few questions about this server. It has two CPU's 3.20 ghz / 800 mhz / 1MB L2 5120 MB RAM 6 hard disks on HP Smart Array 6i controller (36.4 GB Ultra320 SCSI HD each) RAID set to RAID 5 (5 discs) with one spare (6th disk) USB, 2 Ethernet ports, 1 ILO port, 1 SCSI port ... (2 Replies)
Discussion started by: Marcus Aurelius
2 Replies

3. Shell Programming and Scripting

Need to write a script to reformat a file in unix but not familiar with unix

unix script must do the fiollowing open a file containing comma delimited records > each record contains 10 fields > removes the 2nd field and use that same field containing fields 2 to 10 the original record after fprocessing should containing fields 1 and 3 a new erecord must be... (10 Replies)
Discussion started by: dwightja
10 Replies

4. AIX

Anyone familiar with the application FMS ?

Fault Management System. I think it is an in-house application but I am not sure. So if there are people out there that know this application, I have a few questions about it. (0 Replies)
Discussion started by: Browser_ice
0 Replies

5. UNIX for Dummies Questions & Answers

'chkcpu' command help

Hello, I am using unix shell from a Unix emulator called ZOC. Basically, I checked my jobs using the command 'chkcpu'. What I get is something like this: ** cfdlab17 ** PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND... (1 Reply)
Discussion started by: nanay
1 Replies

6. UNIX for Advanced & Expert Users

IF YOU'RE FAMILIAR WITH 'chkcpu', please read this post.

Hello, I am using unix shell from a Unix emulator called ZOC. Basically, I checked my jobs using the command 'chkcpu'. What I get is something like this: ** cfdlab17 ** PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND... (1 Reply)
Discussion started by: nanay
1 Replies

7. UNIX for Advanced & Expert Users

'chkcpu' command help

Hello, I am using unix shell from a Unix emulator called ZOC. Basically, I checked my jobs using the command 'chkcpu'. What I get is something like this: ** cfdlab17 ** PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND... (0 Replies)
Discussion started by: nanay
0 Replies

8. UNIX for Dummies Questions & Answers

I'm not familiar with UNIX at all....HELP!

I need to know how to update our UNIX systems for 2007 DST. Problem is, I have no idea what version of UNIX we have or how to even find out what version it is. I work in the IT department and none of my co-workers know anything about UNIX either. So, I have two questions. First of all, how do I... (5 Replies)
Discussion started by: mcrawford575
5 Replies

9. Solaris

is anyone familiar w/an option for prstat that only displays the initial screen once?

prstat usage: prstat ] ] something equivalent to "top -d 1" ? thanks, manny (2 Replies)
Discussion started by: mr_manny
2 Replies

10. Linux

anyone familiar with mandrake? :D

I am using Mandrake 10.1 and I was trying to use K3B to burn my files to CD. Well, I configured the recorder speed to 48X, however when I try to burn a cd, the program gets stuck and return an error 252 or something. I searched the forum and in there somewhere people mentioned about turning on the... (2 Replies)
Discussion started by: Jace
2 Replies

Featured Tech Videos