PrepAway - Latest Free Exam Questions & Answers

What is the engineer trying to check in the log?

A network engineer runs the following command:
nsconmsg -K /var/nslog/newnslog -s nsdebug_pe=1 -d oldconmsg
What is the engineer trying to check in the log?

PrepAway - Latest Free Exam Questions & Answers

A.
Bandwidth information

B.
Load-balancing information

C.
Content-switching statistics

D.
Memory utilization information

Explanation:
http://www.netscalerkb.com/netscaler-tricks-and-guides/nsconmsgexamples/?wap2;PHPSESSID=6bab876c08055dc69f12fb005869478f
Paul B:
Some of this probably duplicates my original post…. here’s some bits stolen from the Netscaler Advanced
course…..
Enter the following command in the shell to trim a newnslog file:
nsconmsg -K input_file -s time=DDMMMYYYY:HH:MM -k output_file -T seconds -d copy
Command example:
nsconmsg -K /var/nslog/newnslog -s time=19Jan2009:17:00 -k slice1_newnslog -T 3600 -d copy
This command writes newnslog entries from 5pm-6pm in the slice1_newnslog file.
Enter the following command in the shell to view the time span of the current newnslog file:
nsconmsg -K /var/nslog/newnslog -d setime
Enter the following command in the shell to display event information, such as entity up/down, alerts and
configuration saves:
nsconmsg -K /var/nslog/newnslog -d event
Enter the following command in the shell to view console messages, which include IP address conflicts and
duplex mismatch, in the current newnslog file:
nsconmsg -K /var/nslog/newnslog -d consmsg
Enter the following command in the shell to display memory utilization:
nsconmsg -s -K /var/nslog/newnslogConMEM=1 -d oldconmsg
Enter the following command in the shell to display bandwidth information:
nsconmsg -K /var/nslog/newnslog -s nsdebug_pe=1 -d oldconmsg
Enter the following command in the shell to display load-balancing information:
nsconmsg -K /var/nslog/newnslog -s ConLb=1 -d oldconmsg
Enter the following command in the shell to view SSL stats for front-end connections:
nsconmsg -K /var/nslog/newnslog -s ConSSL=1 -d oldconmsg
Enter the following command in the shell to view SSL stats for back-end connections:
nsconmsg -K /var/nslog/newnslog -s ConSSL=2 -d oldconmsg
Enter the following command in the shell to view SSL stats for front- and back-end connections:
nsconmsg -K /var/nslog/newnslog -s ConSSL=3 -d oldconmsg
Enter the following command in the shell to display monitoring statistics:
nsconmsg -K /var/nslog/newnslog –s ConMon=x –d oldconmsg
This command gives basic information when x=1 and gives detailed information when x=2.
Enter the following command in the shell to display content switching statistics:
nsconmsg -K /var/nslog/newnslog –s ConCSW=1 -d oldconmsg
Enter the following command in the shell to view all non-zero totals in the current newnslog file:
nsconmsg -K /var/nslog/newnslog -d statswt0 | more
Enter the following command in the shell to view the average rates in the current newnslog file:
nsconmsg -K /var/nslog/newnslog –d current | more
Use -g to grep for specific counters of interest. For example:
nsconmsg -K /var/nslog/newnslog -g cpu -d statswt0 | more
nsconmsg -K /var/nslog/newnslog -g arp –d current | more
Enter following command in the shell to display CPU usage in the shell:
nsconmsg -K /var/nslog/newnslog -s totalcount=200 -g cpu_use -d current
Enter the following command in the shell to display NIC information:
nsconmsg -K /var/nslog/newnslog -g nic -d current
And watch out for the parameters: a “-k” and a “-K” (lower- vs upper-case) have VERY different meanings!!!!
For example the UPPERcase “-K” refers to an input file, whilst the lowercase “-k” refers to an output file.
Getting them wring could mean over-writing your log file!!! Ooops!

One Comment on “What is the engineer trying to check in the log?


Leave a Reply