Project

General

Profile

« Previous | Next » 

Revision 7258

Added pid2name

View differences:

bin/pid2name
1
#!/bin/sh
2
# Gets the process name for a PID
3
# Usage: self PID
4

  
5
ps -p "$1" -o command=
0 6

  

Also available in: Unified diff