LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Thread Tools
Old 07-07-2004, 06:19 AM   #1
markraem
Member
 
Registered: Nov 2003
Posts: 74
Thanked: 0
ps -ef | grep iptables gives no result ?


[Log in to get rid of this advertisement]
Hi,

I configured and installed iptables succesfully on RH9.

I configure some rules and do /etc/rc.d/init.d/iptables start

I see in my NW that my FW is working correctly as I configured it.

However if I do ps -ef | grep iptables , I do not see it appear in the list !
same for ps | grep iptables

Why not / How come ?
markraem is offline     Reply With Quote
Old 07-07-2004, 06:28 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat, Fedora, Slackware, SuSE, OpenBSD
Posts: 1,789
Thanked: 0
you can do

#iptables -nvL

to view the firewall rules.

iptables is not a daemon ... so it will not show up on the ps -ef list.
ppuru is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Using find and grep - how to exclude a result ? graziano1968 Linux - General 12 06-29-2005 10:47 AM
Need to assign result of grep to var in PERL amytys Programming 1 09-23-2004 07:25 PM
how to grep within a script, and test result? bobbyr Programming 4 01-13-2004 01:11 PM
multiline grep result > multiple variable? mikshaw Linux - Software 5 12-25-2003 11:13 PM
ps -ef|grep -v root|grep apache<<result maelstrombob Linux - Newbie 1 09-24-2003 12:38 PM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration