Tim,
Thank you very much.
You really saved me.
-Venkat
On Fri, Apr 11, 2008 at 4:46 PM, Tim Mooney <Tim.Mooney AT ndsu DOT edu> wrote:
> In regard to: Re: [Networker] Linux does not report the client version
> in...:
>
> Dave, Tim, Davina, Fazil,
> > Thank you very much.
> > I have one quick question How do I get the OS version? I know in SUN NW
> > the
> > OS type is also shown. Thanks in Advance.
> >
>
> You want to modify the script to also report the "OS" and "client OS type"
> attributes. If you run this script, you'll see everything that a client
> will report:
>
> #! /bin/sh
>
> #
> # Author: Davina Treiber et. al.
> #
> # Synopsis: Given a client name on the command line, contact that client
> # and ask it for info.
> #
>
> if test $# -lt 1 ; then
> echo "$0: usage: nsr_get_from_client clientname" >&2
> exit 1
> fi
>
> printf "%s\n" 'print type:NSRLA' \
> | nsradmin -p390113 -i - -s "$1"
>
>
> Tim
> --
> Tim Mooney Tim.Mooney AT ndsu DOT edu
> Information Technology Services (701) 231-1076 (Voice)
> Room 242-J6, IACC Building (701) 231-8541 (Fax)
> North Dakota State University, Fargo, ND 58105-5164
>
> To sign off this list, send email to listserv AT listserv.temple DOT edu and
> type
> "signoff networker" in the body of the email. Please write to
> networker-request AT listserv.temple DOT edu if you have any problems with
> this
> list. You can access the archives at
> http://listserv.temple.edu/archives/networker.html or
> via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
>
--
Venkat Tudi
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|