Man page - pcp-ps(1)
Packages contains this manual
- pmie(1)
- pmie2col(1)
- pcp-netstat(1)
- pmdanetcheck(1)
- pmdammv(1)
- dbpmda(1)
- pcp2openmetrics(1)
- pmlogdump(1)
- pcp-dmcache(1)
- pmdabonding(1)
- webpingvis(1)
- pmdaxfs(1)
- nfsvis(1)
- pmclient(1)
- pcp-ipcs(1)
- pcp-buddyinfo(1)
- pmdanvidia(1)
- pmdasimple(1)
- pmdanfsclient(1)
- pmdalibvirt(1)
- pcp-atoprc(5)
- osvis(1)
- pmdaamdgpu(1)
- pmdbg(1)
- pmdabind2(1)
- pcp.env(5)
- pmlogsummary(1)
- pmrepconf(1)
- pmstat(1)
- pcp-pidstat(1)
- pcp-collectl(1)
- pmdagpfs(1)
- pmstore(1)
- pmdalio(1)
- pmerr(1)
- pmdamailq(1)
- pmdahaproxy(1)
- pcp-python(1)
- pmlogger.control(5)
- mkaf(1)
- pcp2csv(1)
- pmdabcc(1)
- pmie_daily(1)
- pmlogredact(1)
- pmiostat(1)
- pmdaopenvswitch(1)
- pmsleep(1)
- pcp-iostat(1)
- pmdatrace(1)
- pmdafarm(1)
- pmdakvm(1)
- pcp-htop(5)
- perfevent.conf(5)
- pmnsdel(1)
- pmafm(1)
- pmdagpsd(1)
- pmdaweblog(1)
- pmdasamba(1)
- pmdamic(1)
- chkhelp(1)
- pmsearch(1)
- pmlogconf(1)
- pmdapostgresql(1)
- pmloglabel(1)
- pmlogsize(1)
- genload(1)
- pcp-numastat(1)
- pmlogcheck(1)
- pmiestatus(1)
- pcp-slabinfo(1)
- pmcd_wait(1)
- runaspcp(1)
- pcp-atop(1)
- indomcachectl(1)
- pmdagluster(1)
- pcp-free(1)
- dstat(1)
- pcp-mpstat(1)
- pmdatxmon(1)
- pmwebd(1)
- pcp-uptime(1)
- dbprobe(1)
- pmdaunbound(1)
- pmdasockets(1)
- pmdadenki(1)
- pmdanetbsd(1)
- pmlogmv(1)
- mpvis(1)
- pmdasolaris(1)
- pmfind(1)
- pmdawindows(1)
- pmlogextract(1)
- pmval(1)
- pmclient_fg(1)
- pmdads389(1)
- pcp-htop(1)
- pmlogbasename(1)
- pminfo(1)
- pmlogger_daily_report(1)
- pcp-lvmcache(1)
- pmdadbping(1)
- pmlogpaste(1)
- pmview(5)
- pmdaroot(1)
- pmdahacluster(1)
- pmdaperfevent(1)
- pmdate(1)
- pmdasendmail(1)
- pmcpp(1)
- pmdaoracle(1)
- pmdajson(1)
- txrecord(1)
- pcp-shping(1)
- pcp-ps(1)
- pmdadocker(1)
- pmdanews(1)
- pmevent(1)
- pmdamounts(1)
- pmdamysql(1)
- pmlogcompress(1)
- pmdabpftrace(1)
- pcp-check(1)
- pcp-verify(1)
- pmpause(1)
- pmfind_check(1)
- pmdaactivemq(1)
- pmlock(1)
- pmprobe(1)
- pmdanamed(1)
- pmnsmerge(1)
- dkvis(1)
- genpmda(1)
- pmview(1)
- pmdalustre(1)
- pmlogger(1)
- pmdaroomtemp(1)
- pcp-ss(1)
- labels.conf(5)
- pmdasummary(1)
- pmdasample(1)
- pmrep(1)
- pmdanetfilter(1)
- pcp-geolocate(1)
- pmdalogger(1)
- pmlogger_daily(1)
- pmtrace(1)
- pmdapipe(1)
- pmlogrewrite(1)
- pmdiff(1)
- pmdauwsgi(1)
- pcp.conf(5)
- pmpost(1)
- pmdajbd2(1)
- pmdarabbitmq(1)
- pmdapodman(1)
- pmdaapache(1)
- pmdabash(1)
- pmdumplog(1)
- pmdasmart(1)
- pmdagfs2(1)
- pmdadarwin(1)
- pmdaelasticsearch(1)
- pmpython(1)
- newhelp(1)
- pmdabpf(1)
- pmdaslurm(1)
- pmlogreduce(1)
- pcp-atopsar(1)
- pmnsadd(1)
- pcp-dstat(5)
- pmdazimbra(1)
- pmdasnmp(1)
- pcp-tapestat(1)
- pmdadm(1)
- pmieconf(5)
- pmdafreebsd(1)
- pmdatrivial(1)
- pmgetopt(1)
- pmconfig(1)
- pmdalinux(1)
- pmlogger_merge(1)
- weblogvis(1)
- pmdaresctrl(1)
- pmdashping(1)
- pmgenmap(1)
- pmdamssql(1)
- perfalloc(1)
- pmdanginx(1)
- pmdazfs(1)
- pmproxy(1)
- pcp-kube-pods(1)
- pmdazswap(1)
- pmdamemcache(1)
- pmrep.conf(5)
- pmdaproc(1)
- pmcd(1)
- pmdaoverhead(1)
- pmdaredis(1)
- pcp-meminfo(1)
- pmie_dump_stats(1)
- pmdaopenmetrics(1)
- pmdacisco(1)
- pmdaaix(1)
- pcp-summary(1)
- pmdalmsensors(1)
- pmlogger_rewrite(1)
- clustervis(1)
- pcp-reboot-init(1)
- pcp-dstat(1)
- pmdalustrecomm(1)
- pmhostname(1)
- pcp-zoneinfo(1)
- pcp(1)
- pmdarsyslog(1)
- pcp-vmstat(1)
- pmdacifs(1)
- pmieconf(1)
- pmmgr(1)
- pmie_check(1)
- pmjson(1)
- pmseries(1)
- pmdapostfix(1)
- pmdamongodb(1)
- telnet-probe(1)
- pmsocks(1)
- pmlogger_check(1)
- pmlc(1)
- pmlogctl(1)
- pmdapdns(1)
- pmdads389log(1)
- pmiectl(1)
- pcp-xsos(1)
- pmdanutcracker(1)
- webvis(1)
- find-filter(1)
- pmsignal(1)
apt-get install pcp
Manual
PCP-PS
NAMESYNOPSIS
DESCRIPTION
OPTIONS
STANDARD FORMAT SPECIFIERS
NOTES
PCP ENVIRONMENT
SEE ALSO
NAME
pcp-ps - Report statistics for Linux Process.
SYNOPSIS
pcp [ pcp options ] ps [ -e ] [ -U [ username ]] [ -V --version ] [ -c Command name ] [ -P pid1,pid2.. ] [ -p pid1,pid2.. ] [ -o col1,col2... or ALL ] [ -Z timezone ] [ -z ] [ -? ]
DESCRIPTION
The pcp-ps command is used for monitoring individual process running on the system. Using various options it helps a user to see useful information related to the processes. This information includes CPU percentage, memory and stack usage, scheduling and priority. By default pcp-ps reports live data for the local host.
OPTIONS
When invoked via the pcp (1) command, the -h / --host , -O / --origin , -t / --interval , -Z / --timezone and several other pcp options become indirectly available; refer to PCPIntro (1) for a complete description of these options.
The additional command line options available for pcp-ps are:
|
-e |
Display all the process. |
-c [ command name ]
Display the real Command name of the tasks being monitored instead of the UID. If command name is specified, then only tasks belonging to the specified command are displayed.
-U [ username ] , --user-name [= username ]
Display the real user name of the tasks being monitored instead of the UID. If username is specified, then only tasks belonging to the specified user are displayed.
-V, --version
Print version number then exit.
-p pid1,pid2.. , --pid-list = pid1,pid2..
Display only processes with the listed PIDs.
-P ppid1,ppid2.. , --ppid-list = ppid1,ppid2..
Display only processes with the listed PPIDs.
|
-o |
User-defined format. |
It is a single argument in the form of a blank-separated or comma-separated list, which offers a way to specify individual output columns.
The argument to -o are following:
STANDARD FORMAT SPECIFIERS
Here are the different keywords that may be used to control the output format (e.g. with option -o ) or to sort the selected processes
For example: pcp-ps -o pid,user,args
-Z timezone , --timezone= timezone
By default, pcp-ps reports the time of day according to the local timezone on the system where pcp-ps is run. The -Z option changes the timezone to timezone in the format of the environment variable TZ as described in environ (7).
-z , --hostzone
Change the reporting timezone to the local timezone at the host that is the source of the performance metrics. When replaying a PCP archive that was captured in a foreign timezone, the -z option would almost always be used (the default reporting timezone is the local timezone, which may not be the same as the timezone of the PCP archive).
-? , --help
Display usage message and exit.
NOTES
pcp-ps is inspired by the ps (1) command and aims to be command line and output compatible with it.
PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf (5).
For environment variables affecting PCP tools, see pmGetOptions (3).
SEE ALSO
PCPIntro (1), pcp (1), pcp-ps (1), python (1), pmParseInterval (3), strftime (3) and environ (7).