LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2003, 11:33 PM   #1
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Rep: Reputation: 30
Help w/comand line


How do I do this on Linux rh9 comand line?

See %CPU of $(pgrep nwserver)
Kill $(pgrep nwserver)

Thanks in advanced.
 
Old 09-23-2003, 03:56 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
>See %CPU of $(pgrep nwserver)

Code:
ps aux | grep nwserver | awk '{print $3}'
> Kill $(pgrep nwserver)

Code:
kill `pidof -s nwserver`
 
Old 09-23-2003, 04:28 PM   #3
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Original Poster
Rep: Reputation: 30
Thanks a bunch, I'll try it out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux comand line in windows? colinstu General 3 08-12-2005 10:51 PM
Good REDHAT LINUX books (comand line) snapper64 Linux - General 4 10-23-2004 04:45 AM
telnet comand ylawayjdp Linux - Newbie 2 10-14-2004 01:01 PM
reset resolution comand Infinite_Pizza Linux - Hardware 0 05-12-2004 01:33 AM
How do I detach a process from the comand line? Joey.Dale Linux - General 3 02-29-2004 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration