I have following script
HTML Code:
$cmd="ps -ef |";
open(PSINFO, $cmd) || die "Unable to get ps -ef information from System";
while running script with above lines, it is showing following err
Code:
ps: illegal option -- f
usage: ps [ -aceglnrSuUvwx ] [ -t term ] [ num ]