V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
codeplay
V2EX  ›  Linux

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

  •  
  •   codeplay · 2013 年 3 月 30 日 · 4115 次点击
    这是一个创建于 4680 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在看The Linux Command Line
    糊涂了
    5 条回复    1970-01-01 08:00:00 +08:00
    swulling
        1
    swulling  
       2013 年 3 月 30 日
    $ which ps
    /bin/ps
    $ which jobs
    jobs: shell built-in command

    then
    man ps
    man jobs
    andy12530
        2
    andy12530  
       2013 年 3 月 31 日 via iPhone
    楼上已经说很好了。看手册

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

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

    阅读man手册,你想要的都在里面
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1020 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 22:46 · PVG 06:46 · LAX 14:46 · JFK 17:46
    ♥ Do have faith in what you're doing.