Date: Fri, 16 Feb 1996 03:02:40 -0800 (PST) From: Donald Burr <d_burr@ix.netcom.com> To: Nate Williams <nate@sri.MT.net> Cc: Terry Lambert <terry@lambert.org>, Jerry Kendall <jerry@border.com>, questions@FreeBSD.org Subject: Re: Telling if User PPP is up or down Message-ID: <Pine.BSF.3.91.960216024725.426B-200000@starfleet.gov> In-Reply-To: <199602152251.PAA01813@rocky.sri.MT.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1045892452-824468523=:426 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: <Pine.BSF.3.91.960216030207.426E@starfleet.gov> On Thu, 15 Feb 1996, Nate Williams wrote: > The line may be taken, but the link may not be 'up' if there is no > demand for it. OK, try this one. The syntax is "portstat <port>" (e.g. "portstat cuaa0") Just "portstat" alone will use the first port in use (the first lockfile in /var/spool/lock) Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212 TEL (805)564-1871 / FAX 564-2315 / WWW http://www.geopages.com/WallStreet/2072 PGP Public Key available by request (send e-mail) or on Public Key Servers. ** Uphold your right to privacy - Use PGP. ** --0-1045892452-824468523=:426 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=portstat Content-Transfer-Encoding: BASE64 Content-ID: <Pine.BSF.3.91.960216030203.426C@starfleet.gov> Content-Description: IyEvYmluL3NoDQpMT0NLPS92YXIvc3Bvb2wvbG9jaw0KDQppZiBbIC16ICIk MSIgXQ0KdGhlbg0KCWNkICR7TE9DS30NCgkvYmluL2xzIExDSy4uKiA+IC90 bXAvbG9ja3MkJCAyPi9kZXYvbnVsbA0KCWlmIFsgISAtcyAvdG1wL2xvY2tz JCQgXQ0KCXRoZW4NCgkJZWNobyBObyBwb3J0cyBpbiB1c2UuDQoJCWV4aXQg MA0KCWZpDQoJUE9SVD1gY2F0IC90bXAvbG9ja3M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JUE9SVFNUQVQ9Im5vdCBpbiB1c2UgKHN0YWxlIGxvY2sgZXhp c3RzKSINCgllbHNlDQojIHBpZHMgZXhpc3QsIHNvIHByb2JlIHRoZW0NCgkJ UFJPR1JBTT1gY2F0IC90bXAvcG9ydHN0YXQkJCB8IGF3ayAneyBwcmludCAk MiB9J2ANCgkJaWYgZWNobyAke1BST0dSQU19IHwgZ3JlcCAtaSBwcHAgPiAv ZGV2L251bGwgMj4mMQ0KCQl0aGVuDQoJCQlQT1JUU1RBVD0iaW4gdXNlIGJ5 IHBwcCINCgkJZWxzZQ0KCQkJUE9SVFNUQVQ9ImluIHVzZSBieSBgY2F0IC90 bXAvcG9ydHN0YXQkJCB8IGF3ayBcDQoJCQkJCSd7IHByaW50ICQyIH0nYCIN CgkJZmkNCglmaQ0KZmkNCg0KZWNobyAiU3RhdHVzIG9mICR7UE9SVH06ICR7 UE9SVFNUQVR9Ig0KZXhpdCAwDQo= --0-1045892452-824468523=:426--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960216024725.426B-200000>