How to use the pwdx command in Centos 7

  • Usage
[root@xtwj73 ~]# man pwdx |tee /dev/null
PWDX(1)                                                                                                       User Commands                                                                                                      PWDX(1)



NAME
       pwdx - report current working directory of a process

SYNOPSIS
       pwdx [options] pid [...]

OPTIONS
       -V, --version
              Output version information and exit.

       -h, --help
              Output help screen and exit.

SEE ALSO
       ps(1), pgrep(1)

STANDARDS
       No standards apply, but pwdx looks an awful lot like a SunOS command.

AUTHOR
       Nicholas Miell ⟨[email protected]⟩ wrote pwdx in 2004.

REPORTING BUGS
       Please send bug reports to ⟨[email protected]⟩



procps-ng                                                                                                       June 2011                                                                                                        PWDX(1)
[root@xtwj73 ~]# 

  • sample
[root@xtwj73 ~]# jps -l
5942 jdk.jcmd/sun.tools.jps.Jps
25961 /data/dragon/service/dragon-service-sms-impl/dragon-service-sms-impl.jar
11311 /data/dragon/service/dragon-service-push-impl/dragon-service-push-impl.jar
[root@xtwj73 ~]# pwdx 11311
11311: /data/dragon/service/dragon-service-push-impl
[root@xtwj73 ~]#
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章