Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in posts by mengesb only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
mengesb
User Profile
Collapse
Profile Sidebar
Collapse
mengesb
Last Activity: Jul 16 '07, 05:45 PM
Joined: Jul 16 '07
Location: California
Subscriptions
1
Subscribers
0
Activities
About
Media
Subscribed
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Source
All
mengesb only
Visitor Messages Only
Advanced
Filtered by:
Clear All
new posts
mengesb
started a topic
Custom PID checking for process
in
Linux
Jul 16 '07, 05:44 PM
Custom PID checking for process
I'm looking to utilize something to the effect of this code:
Code:
ps -ef | grep sc_serv | grep -v grep | awk '{print $2}' > sc_serv.pid cat sc_serv.pid 3447 3449
The first id it spits out is the screen process that I run the sc_serv command under, and that's fine, because killing that process is really what I want. Killing the second will just produce nothing.
What I'd really like is...
See more
|
Go to post
No activity results to display
Show More
Working...
OK
OK
Cancel
👍
👎
☕