Useful cmds

来源:互联网 发布:js里怎么点击放大图片 编辑:程序博客网 时间:2024/05/08 20:39
ps command with some parameters may help to debug some kernel or signal issue.

ps -meo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:24,comm

ps axo blocked,caught,eip,esp,lwp,maj_flt,min_flt,ni,nlwp,pcpu,policy,rss

       wchan      WCHAN   name of the kernel function in which the process is sleeping, a "-" if the process
                          is running, or a "*" if the process is multi-threaded and ps is not displaying
                          threads
       caught     CAUGHT  mask of the caught signals, see signal(7). According to the width of the field, a 32
                          or 64 bits mask in hexadecimal format is displayed. (alias sig_catch, sigcatch).
原创粉丝点击