Article View: comp.unix
Article #255How to find process name in c
From: lyns
Date: Thu, 11 Oct 1990 02:37
Date: Thu, 11 Oct 1990 02:37
8 lines
679 bytes
679 bytes
Has anyone got a method for finding out if a process is running short of "ps -ef | grep processname" in a pipe. There must be a better way from within a c program. Lynwood A. Stewart Boeing Commercial Airplanes lyns@atc.boeing.com
Technical Details
Message-ID:
<2190@megadon.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!vsi1!altos!megadon!clpShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!vsi1!altos!megadon!clp From: lyns@atc.boeing.com Newsgroups: comp.unix Subject: How to find process name in c Message-ID: <2190@megadon.UUCP> Date: 11 Oct 90 02:37:42 GMT Organization: Boeing-Commercial-Airplanes Lines: 8 Approved: clp@megadon.UUCP Return-Path: <hpubvwa!grlab!news>