check start date of process id linux 1

check start date of process id linux

ls -ltrh /proc | grep username

Here is what the above code is Doing:
1. We’re using the os module to run the command “ps -ef | grep username”
2. We’re using the subprocess module to run the command “ls -ltrh /proc | grep username”
3. We’re using the subprocess module to run the command “ls -ltrh /proc | grep username”

Similar Posts