PID Process Resources


 
Thread Tools Search this Thread
Operating Systems HP-UX PID Process Resources
# 1  
Old 07-11-2012
PID Process Resources

Hi all.

I need to get detailed information about a PID.
I have an app called Reflection X and it shows many things like Total CPU percent, User CPU (Nice) percent, FS Reads, etc. [I attach an example image]

My question is how can I get all that information on console?
Is there an archive with the detailed information?
Or is there a command that can display the same information like the attached file?

Thanks in advanced.
Regards.

DASM
PID Process Resources-reflectionpng
# 2  
Old 07-11-2012
On other systems I'd suggest /proc/ but HPUX doesn't have that. ps may be your best bet...
# 3  
Old 07-11-2012
you can use this command where you want to check PID
ls -li
# 4  
Old 07-11-2012
@ashutoshverma: Which part of list -longinode shows the PID?
# 5  
Old 07-12-2012
Reflection X is a X server for PC, the application you are looking at seems to be gpm ( glance in X GUI...)...
What do you mean by console? the standard HP? hp 7XX?
Hp consoles are not GUI, so you are left with using glance (text) rather than gpm
I dont know what it looks like on a new VT100 type console but on a hpterm (700/96) <ou will see something like a menubar on the bottom of the screen, the layout matches the corresponding keys (forgot how you call them - function keys ? 1 to 8 if my memory serves me...) of the HP keyboard...
# 6  
Old 07-12-2012
Hi vbe,

Thatīs correct.
Reflection X is a X server but Iīm not looking for glance.
Itīs true that glance can display the same data, but one year ago one person got the information even with the same format, and he didnīt type the glance command.
Iīm not looking for a GUI, I just need to have access to detailed information about a PID in a text file every certain time.
The option you suggest could work.
Iīm going to do some tests and I will comment the results.

By the way, Corona688, the ps command doesnīt give all the information that I need.

Thank you all.
Regards.

DASM
# 7  
Old 07-12-2012
maybe you were thinking of sar:
Code:
ant:/var/adm/sa $ sar -u -M  -f sa01 $   

HP-UX ant B.11.11 U 9000/800    09/01/12

16:51:49     cpu    %usr    %sys    %wio   %idle
16:53:00       0       1       1       1      96
               1      24       4       3      69
               2       2       7       3      88
               3       4      20       1      75
          system       8       8       2      82
16:53:24       0      37       8       2      52
               1      36       9       1      55
               2       5       9       1      85
               3       8      31       3      59
          system      22      14       2      63
16:54:24       0       6      17       3      73
               1      12      18       6      65
               2       5      14       3      78
               3       8      25       1      66
          system       8      18       3      71
16:55:24       0       3       5       2      90
               1       7       7       3      83
               2       2       9       2      87
               3       7      22       1      70
          system       5      11       2      82
16:56:24       0       1       1       0      98
               1       0       0       0      99
               2       0       9       0      91
etc...

But it will give you all info about the system, nothing about specific PID (I think...), I really cant see anything else than glance, or its openvue performance monitor, unless you have sysload...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX resources consumption group by process pattern

Hi, I have AIX processes something as below, how to know the resources consumption group by process pattern "price" and "devdb"? eg: CPU RAM WIO price 20% 250M 5% devdb 30% 1000M 8% oracle 2990122 1 0 10:33:39 - 0:00... (1 Reply)
Discussion started by: victorcheung
1 Replies

2. AIX

Process ids consuming huge resources ?

Hi All what is the command to check process ids , which are running from long time and which are consuming more cpu? Also how to check, what a particular PID is running what For Ex: i have a pid :3223722 which is running since from long time, if i want to check what is this... (1 Reply)
Discussion started by: sidharthmellam
1 Replies

3. Programming

[C] Process pid by name

Hi I use linux OS. I've already written a function that allow me to get the process name by pid. (searching in /proc). Now I'd like to perform the inverse task.I mean get the process pid by its name. I could write a function that search in every folder in /proc for the process name, but i... (2 Replies)
Discussion started by: Dedalus
2 Replies

4. Shell Programming and Scripting

getting pid from a process

Hi all, i was able to redirect pid of process to a file in the following way ps aux|awk '$11 == "/Applications/ProjectX/DServer" >> /Applications/ProjectX/DServer.pid it works fine but if one folder name caontains space its not working like below ps aux|awk '$11 == "/Applications/Project\... (1 Reply)
Discussion started by: kirankumars
1 Replies

5. Shell Programming and Scripting

Get an PID of particular process

Hi I have written a shell script to find and kill the particular process. Here in shell script i have written the code like cnt = $(ps -ef | grep Shree) echo $cnt I am getting the output root 2326 2317 0 14:39:46 pts/1 0:28 Shree -f fdc.fbconf FDCapp.fbapp Here I want to... (2 Replies)
Discussion started by: Shreedhar Naik
2 Replies

6. UNIX for Dummies Questions & Answers

Need to get pid of a process and have to store the pid in a variable

Hi, I need to get the pid of a process and have to store the pid in a variable and i want to use this value(pid) of the variable for some process. Please can anyone tell me how to get the pid of a process and store it in a variable. please help me on this. Thanks in advance, Amudha (7 Replies)
Discussion started by: samudha
7 Replies

7. AIX

Finding process taking up resources

I'm assuming that using the PS command would tell me about processes running. But how can I target a process that is taking up too many resources, and slowing down the system. Even an orphan process. (5 Replies)
Discussion started by: NycUnxer
5 Replies

8. AIX

How to list the resources used for each process

Hi Expert, Can anyone tell what command can list the resources used for each process in AIX, including the following columns: Process ID, Program Name, Resources used(CPU,RAM,SWAP),Start Time Thanks!! Victor Cheung (3 Replies)
Discussion started by: victorcheung
3 Replies

9. Solaris

getting pid of process

hi all, Is there a simple script anyone could through out to me, to find the pid of a process given the name. I actually need to bind this pid to a processor set. I would probably put these comamns in a shell script which would have. a) kick start the executable b) get the pid c) bind it to a... (10 Replies)
Discussion started by: Naanu
10 Replies

10. Shell Programming and Scripting

Process PID

Hi Friends :p I have a little problem please help me out. I have a Unix based OS Sun Server having oracle 8i as database on it. The server has one client with windows OS. The client uses developer 2000 (GUI) to run query and run processes. I want to know how can I know the PID of a process run... (3 Replies)
Discussion started by: vanand420
3 Replies
Login or Register to Ask a Question