LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-21-2004, 08:08 AM   #1
Chowroc
Member
 
Registered: Dec 2004
Posts: 145

Rep: Reputation: 15
Check the time that ppp0 has been activated?


Is there any command to check the time that ppp0 has been activated? Or can I get the information in any file of /proc system?

thanks.
 
Old 12-21-2004, 02:41 PM   #2
DarkBeethoven
LQ Newbie
 
Registered: Jan 2002
Distribution: customized
Posts: 22

Rep: Reputation: 15
Shouldn't /var/log/messages tell you that?

Either that, or run the command "dmesg". There should definately be some information in one of those two places.

- Michael
http://www.cs.fsu.edu/~mhines
 
Old 12-22-2004, 07:03 AM   #3
Chowroc
Member
 
Registered: Dec 2004
Posts: 145

Original Poster
Rep: Reputation: 15
This will give the start time:
$ ps aux|grep `cat /var/run/ppp0.pid ` | awk '{ print $9}'

If in C, I think could use the process time.
 
  


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
eth1 and ppp0, need to send UDP packets through ppp0 smhs Linux - Networking 2 07-12-2005 08:54 AM
ADSL-STATUS: linked to ppp0 but ppp0 seems to be down. mikkime23 Linux - Networking 1 01-01-2005 11:00 AM
Endless Loop: ppp0 Unregister Netdevice: waiting for ppp0 to be free. oberon-ken-obi Linux - Networking 1 07-20-2004 11:04 PM
howto check what's eating proc time??? FireAge Linux - Software 4 06-14-2003 07:03 AM
Linux Os stuck at boot time probing for ppp0 abinash_y Linux - Networking 7 04-11-2002 06:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:38 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