DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th February 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default pftop command not found

i installed pftop 0.7 and run in su but it prompt
Code:
ksh: pftop: not found
so i also tried this in normal user
Code:
$ pftop
pftop: open("/dev/pf"): Permission denied
So i search for /dev/pf file, but is not there. Do i need to create one?
how do i run pftop? I studied the man page but it doesn't work..
Reply With Quote
  #2   (View Single Post)  
Old 20th February 2009
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Thanked 0 Times in 0 Posts
Default

Does command /usr/local/sbin/./pftop work?

or first cmd rehash and then pftop?
Reply With Quote
  #3   (View Single Post)  
Old 20th February 2009
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,815
Thanked 214 Times in 189 Posts
Default

bsdnewbie: are you still running OpenBSD? If so:
  1. You will find that:$ pkg_info -L pftop will tell you where all of its files are installed. You'll either need to have the executable's directory in your $PATH, or explicity use the complete path, if you want to to execute the program.
  2. The pftop program has not kept up with PF changes -- it produces incorrect output, in particular, byte counts.
  3. Most of the functionality of pftop has been made available in the -current version of the systat program. Here's a link to a web version of the man page: systat(1). Make sure you are looking at the -current version, and see the states, queues, and rules functions.

Last edited by jggimi; 20th February 2009 at 12:52 PM.
Reply With Quote
  #4   (View Single Post)  
Old 23rd February 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jggimi View Post
bsdnewbie: are you still running OpenBSD? If so:
  1. You will find that:$ pkg_info -L pftop will tell you where all of its files are installed. You'll either need to have the executable's directory in your $PATH, or explicity use the complete path, if you want to to execute the program.
  2. The pftop program has not kept up with PF changes -- it produces incorrect output, in particular, byte counts.
  3. Most of the functionality of pftop has been made available in the -current version of the systat program. Here's a link to a web version of the man page: systat(1). Make sure you are looking at the -current version, and see the states, queues, and rules functions.
Yes. I'm still using OPenbsd. No wonder i cannot find my topic, posted in wrong area.
Reply With Quote
  #5   (View Single Post)  
Old 23rd February 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Calderon View Post
Does command /usr/local/sbin/./pftop work?

or first cmd rehash and then pftop?
Yes. It works.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pftop state query. bsdnewbie999 OpenBSD General 1 10th April 2009 03:33 AM
kernel not found isamu FreeBSD Installation and Upgrading 13 24th October 2008 12:24 AM
I finally found it!!! crayoxide FreeBSD General 8 23rd July 2008 05:41 AM
pkg-get command not found whispersGhost Solaris 2 11th June 2008 01:06 PM
xorgcfg command not found Lazy FreeBSD Installation and Upgrading 10 21st May 2008 08:47 PM


All times are GMT. The time now is 03:28 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick