find context of the command process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

It is hard to list a context of a process.
For example:
ps -ZC ls
or ps -ZC tar
only "ps -ZC sleep" returns context of the sleep process.
# ps -ZC sleep                                                                    
LABEL                             PID TTY          TIME CMD                                                  
system_u:system_r:initrc_t:s0   11744 ?        00:00:00 sleep                                      system_u:system_r:initrc_t:s0   13006 ?        00:00:00 sleep                                      system_u:system_r:initrc_t:s0   14087 ?        00:00:00 sleep  

Any suggestions?

--henry
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux