But ... in HP-UX you need to invoke the Berkeley unix ps command with this somewhat unusual syntax:
The space character after the equals sign is mandatory. The space character after -p is not mandatory.
Hello all
im using the ps -ef "args vsz" | some.exe
but the result is in kb , is there some kind of way or flag ( didnt found in the ps man )
to convert me this data to GB or MG in human readable format ?
Thanks (1 Reply)
we are running red hat ES4 and i would like to know if there is anyway of restrcting the maximum amount of memory that a process can get? I have a single preocess that is taking >13GB.
Thanks,
Frank (4 Replies)
hi all,
i want to write a script that checks the memory usage of processes and send a mail with the name of the process witch is using more then 300mb RAM.
dose anybody have a sample script or an idea how i can make it ?
PROCCESSES="snmpd sendmail"
for myVar in $PROCCESSES
do
... (7 Replies)
Hi All,
Does anyone know what the best commands in the UNIX command line are for obtaining this info:
current CPU usage
memory usage
virtual memory usage
preferably with date and time parameters too?
thanks
ocelot (4 Replies)
I use pstat API to get Process Infomation
I would like to get a process
1.process owner
2.how many physical memory and virtual memory and total memory used(KB) and usage(%)
3.a process excution file create time
4.a process excution file access time
I do't know which attribute it i need
... (3 Replies)
Hello all,
To do a self-exec or self-restart of a process when it crosses the threshold memory limit, I use the value of virtual memory size field from /proc/$pid/stat file and do a self-exec.
According to man 5 proc
vsize %lu
Virtual memory size in bytes.
I just want to... (2 Replies)
Hi Guys,
I work on a AIX environment and I'm trying to write a script where I can collect all the memory used by a process. Basically I'm executing the command 'ps -fu userid' to get all the process ids and then executing the 'ps v PID' to get all the memory allocated by PPID. My question is... (2 Replies)
Hi All,
I have a java process which is showing high virtual memory utilization in client server. But the same process is showing comparitively lesser virtual memory consumption. I understand that virtual memory shown is not of much importance for the general user in normal condition, my client... (2 Replies)
hi all gurus:
I want to find out Solaris process memory usage, but got a bit confused, see if any one can provide me some guidance.
i tend to use prstat -a to get total memory consumption by user (I know prstat likely have a bug that simply sum up the memory, regardless if the memory being... (5 Replies)
I have multiple oracle databases on one server. All the database are running from the same user i.e. oraent.
The process for each database can be distinguished by the ps -ef command
Eg : ps -ef | grep oraentThe Output :
oraent 5361 1 0 20:58:05 ? 0:00 oracledb1... (11 Replies)
Discussion started by: yashreads
11 Replies
LEARN ABOUT DEBIAN
ost_commandoptionparse
ost::CommandOptionParse(3) Library Functions Manual ost::CommandOptionParse(3)NAME
ost::CommandOptionParse -
This is the CommandOptionParse interface class.
SYNOPSIS
#include <cmdoptns.h>
Public Member Functions
virtual ~CommandOptionParse ()=0
Virtual destructor needed so that the object may be correctly deleted.
virtual bool argsHaveError ()=0
Get the value of the error flag set if the parser encountered errors.
virtual const char * printErrors ()=0
Return a string of text describing the list of errors encountered.
virtual const char * printUsage ()=0
Return a string that contains the usage description of this list of paramaters.
virtual void registerError (const char *errMsg)=0
Register an error with this parser.
virtual void performTask ()=0
The method should be invoked by the main code once it has determined that the application should be started.
Detailed Description
This is the CommandOptionParse interface class.
To implement this object you can call makeCommandOptionParse(); This will instantiate a dynamically allocated version of this class and
parse the command line for the list of command options that are passed in.
Author:
Gianni Mariani gianni@mariani.ws
Examples:
cmdlineopt.cpp.
Constructor & Destructor Documentation
virtual ost::CommandOptionParse::~CommandOptionParse () [pure virtual]
Virtual destructor needed so that the object may be correctly deleted.
Member Function Documentation
virtual bool ost::CommandOptionParse::argsHaveError () [pure virtual]
Get the value of the error flag set if the parser encountered errors.
Examples:
cmdlineopt.cpp.
virtual void ost::CommandOptionParse::performTask () [pure virtual]
The method should be invoked by the main code once it has determined that the application should be started.
Examples:
cmdlineopt.cpp.
virtual const char* ost::CommandOptionParse::printErrors () [pure virtual]
Return a string of text describing the list of errors encountered.
Examples:
cmdlineopt.cpp.
virtual const char* ost::CommandOptionParse::printUsage () [pure virtual]
Return a string that contains the usage description of this list of paramaters.
Examples:
cmdlineopt.cpp.
virtual void ost::CommandOptionParse::registerError (const char *errMsg) [pure virtual]
Register an error with this parser. This string will be appended to the errors already buffered in this object.
Examples:
cmdlineopt.cpp.
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::CommandOptionParse(3)