Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
codeplay
V2EX  ›  Linux

ps命令和jobs命令有什么不一样?

  •  
  •   codeplay · Mar 30, 2013 · 4723 views
    This topic created in 4971 days ago, the information mentioned may be changed or developed.
    在看The Linux Command Line
    糊涂了
    5 replies  •  1970-01-01 08:00:00 +08:00
    swulling
    swulling
    Mar 30, 2013
    1
    $ which ps
    /bin/ps
    $ which jobs
    jobs: shell built-in command

    then
    man ps
    man jobs
    andy12530
    andy12530
    Mar 31, 2013 via iPhone
    2
    楼上已经说很好了。看手册

    一个是查看进程的命令
    后一个是看后台正在跑的任务
    thelordsaves
    thelordsaves
    Apr 8, 2013
    3
    man ps
    help jobs
    ivanlw
    ivanlw
    Apr 13, 2013
    4
    @swulling
    我在linux下which jobs打印空,mac下which jobs打印/usr/bin/jobs

    借此帖顺便问下……top和ps为什么显示出来的进程会差那么多呢?(我知道top会实时显示)……
    swulling
    swulling
    Apr 13, 2013
    5
    @ivanlw
    man jobs
    man ps
    man top

    阅读man手册,你想要的都在里面
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1180 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 15:59 · PVG 23:59 · LAX 07:59 · JFK 10:59
    ♥ Do have faith in what you're doing.