read no of lines
Posted on 2003-03-05
my boss have assigned me to a hopeless task since I know pretty much nothing about Perl. So my hope stands to this forum. What I want to do is check if there is three jobs running, and I thought this might be a good start ?
ps -ef > ResultFile.txt
Is there a way to check how many rows there are in the file ? Thay all start with the same word if that is any help ?