Sponsored Content
Operating Systems HP-UX How to verify the size of a process Post 302422655 by vbe on Wednesday 19th of May 2010 04:33:31 AM
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

 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
GIT-VERIFY-PACK(1)                                                  Git Manual                                                  GIT-VERIFY-PACK(1)

NAME
git-verify-pack - Validate packed Git archive files SYNOPSIS
git verify-pack [-v|--verbose] [-s|--stat-only] [--] <pack>.idx ... DESCRIPTION
Reads given idx file for packed Git archive created with the git pack-objects command and verifies idx file and the corresponding pack file. OPTIONS
<pack>.idx ... The idx files to verify. -v, --verbose After verifying the pack, show list of objects contained in the pack and a histogram of delta chain length. -s, --stat-only Do not verify the pack contents; only show the histogram of delta chain length. With --verbose, list of objects is also shown. -- Do not interpret any more arguments as options. OUTPUT FORMAT
When specifying the -v option the format used is: SHA-1 type size size-in-packfile offset-in-packfile for objects that are not deltified in the pack, and SHA-1 type size size-in-packfile offset-in-packfile depth base-SHA-1 for objects that are deltified. GIT
Part of the git(1) suite Git 2.17.1 10/05/2018 GIT-VERIFY-PACK(1)
All times are GMT -4. The time now is 02:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy