How to verify the size of a process


 
Thread Tools Search this Thread
Operating Systems HP-UX How to verify the size of a process
# 1  
Old 05-19-2010
How to verify the size of a process

Hi,

Could you please advise on the command to verify the size of a process in HPUX 11.23 Itanium.

The process name is arserverd.

Many thanks in Advance,
Best Regards,
John Joseph
# 2  
Old 05-19-2010
You can easily search the forums using our internal Google search engine or our advanced internal search engine. You can also search our huge UNIX and Linux database by user generated tags or search the database for unanswered questions and provide an answer.

Some links I found:

https://www.unix.com/shell-programmin...e-process.html

https://www.unix.com/unix-dummies-que...ess-bytes.html
# 3  
Old 05-19-2010
Code:
UNIX95= ps  -C arserverd -o "pid ruser vsz=Kbytes" |more

in other words:
man ps

---------- Post updated at 10:33 ---------- Previous update was at 10:30 ----------

Demo with "java":
Code:
ant:/home/vbe $ ps -ef|grep java|grep -v grep
    root  1928     1  0  Apr 29  ?        1053:50 /opt/java1.3/bin/../bin/PA_RISC2.0/native_threads/java -XdoClos
    root  2508     1  0  Apr 29  ?        3886:27 /opt/APPQcime/jre/bin/PA_RISC2.0/java -Djava.library.path=../li
ant:/home/vbe $ UNIX95= ps  -C java -o "pid ruser vsz=Kbytes"  
  PID RUSER     Kbytes
 1928 root       22588
 2508 root       67644

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Is there any option to verify size at destination end after NDM?

Hi, I am using ndmcli to send files from one solaris server to another one. I use the below one in script and verify the status. select stat det=yes pnum="$PNUM" Is there any option to automate in script in verifying destination size with source after doing NDM? :mad: (10 Replies)
Discussion started by: gthangav
10 Replies

2. Shell Programming and Scripting

How to verify process as uppercase

Hi, I'm using ksh, I have a server process run in the background called fin_tr_APPADJ. I have a requirement now to create a script to check if all the processes spawn with process named fin_tr_* must be uppercase, fin_tr_ can be lower case, but anything suffixed with fin_tr_* must be uppercase.... (4 Replies)
Discussion started by: khchong
4 Replies

3. UNIX for Dummies Questions & Answers

How to increase process size ???

Hi All, Could anybody tell me how to increase/decrease a process size in UNIX HP machine ? Whether the process size limitation will cause core dump ? Thanks, Rohit.. (1 Reply)
Discussion started by: ronix007
1 Replies

4. Shell Programming and Scripting

find process size script

Hello i am working on a project here is part of script that i need a help in get process SpectroSERVER current size if it exceed 3850 MB then #pkill -TERM ArchMgr and wait to succfull shutdown message from the log file to proceed to the next step #tail -f $SPECROOT/SS/DDM/ARCHMGR.OUT... (7 Replies)
Discussion started by: mogabr
7 Replies

5. Shell Programming and Scripting

verify if a process exists (ps)

hi I want to verify that a process exists. if the process exists, then it means the service is up. ps -ef | grep monito returns an entry if the service is up. how to translate that in a shell script?? many thanks (4 Replies)
Discussion started by: melanie_pfefer
4 Replies

6. UNIX for Dummies Questions & Answers

How to get the size of process in Bytes

Hi All, We have the commands top and ps through which we can find out the size of the running process. These commnds are giving the size of my process in MB after rounding of the size. Is there any way by which I can get the size of my process in Bytes or KBytes. Any help would be greatly... (2 Replies)
Discussion started by: darshi
2 Replies

7. AIX

How to increase memory size allowed to one process

Hi, I have migrated some processing from true64 --> AIX 5.3. my problem is to process large files in memory by diff or awk program. I need to load app. 1.3 GB of data into memory but it fails that there is not enough memory. I need following: diff file1 file2 orig. aix diff err... (2 Replies)
Discussion started by: Petr
2 Replies

8. Programming

How to find out the stack size occupied for a process?

Hi, In Linux how to find out what will be the stack size allocated for a process? Actually i have to fork n number of processess, and will call exec. I will be execing an executable which is already multithreaded and each thread size is defined. My doubt is how to know if the size of the... (2 Replies)
Discussion started by: rvan
2 Replies

9. Shell Programming and Scripting

Please help with Top and SIZE of process

Hi, what I want to do is get the SIZE of a particular process from top into a shell script so I can put it in a while loop. I want to display a warning message when the process size gets up to a certain amount, but I don't know how to get that one line spit out from Top and thrown into my shell... (5 Replies)
Discussion started by: satraver
5 Replies

10. UNIX for Dummies Questions & Answers

How to find the size of Process Address space.

Hello, Please help me to know, How to find out the how much amount of process addres space is required/is used for/by a process. Tnx & Regards Vishwa. (1 Reply)
Discussion started by: S.Vishwanath
1 Replies
Login or Register to Ask a Question