9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Everyone,
I need a little help in manipulating a file. This is what I need.
I need to move each line barring the top 3 lines, to the right by a 8 (or some specified number ) of places.
Example BEGIN:
Vertices
Edges
Archs
1443 4042
862 4821
254 1177I want to move the... (3 Replies)
Discussion started by: scigeek
3 Replies
2. Shell Programming and Scripting
Dear All,
I need to script to change TTL of all zone file in my DNS and aslo i require the serial to be updated to reduce my work load.
Regards
Vicky (0 Replies)
Discussion started by: search4u2003
0 Replies
3. Shell Programming and Scripting
My data is something like shown below.
date1 date2 aaa bbbb ccccc
date3 date4 dddd eeeeeee ffffffffff ggggg hh
I want the output like this
date1date2 aaa eeeeee
I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Discussion started by: rdhanek
7 Replies
4. Shell Programming and Scripting
Dear Friends,
I have a script below mentioned, it is running OK on Linux platform but somehow now i have to use SOLARIS 10 for this script, When i run this script i have some error messages also given below.
Can any of you help me with this, i will be very thankful to him.
... (6 Replies)
Discussion started by: Danish Shakil
6 Replies
5. Linux
Hi,
please suggest me the possible reasons for application to get hang ????
Thanks and Regards
Anand P (1 Reply)
Discussion started by: Anand Prakash
1 Replies
6. Solaris
Hi,
Iam relatively new to Shell scripting.
............
.........
Cur_log_file=`ls -lrt LOGFILE* | grep 'Jun 30' | tail -1`
...............
..................
Iam trying to find some log file name to check their status, using above script line.
If the log file is not avaible then rest of... (3 Replies)
Discussion started by: Lokesha
3 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
Please help me in the following query
need a command to get all the files in the present directory except the next day file
format :: abc_<DD>.log
$ls -l
abc_10.log
abc_10.log
abc_11.log
Now i need the output in abc.list which should contains
$more abc.list
abc_10.log... (5 Replies)
Discussion started by: thaduka
5 Replies
8. Programming
hi i am new to c programming and found this on the net could someone tell me what it actually does, many thanks in advance cheers
#include <fcntl.h>
main()
{
int fd;
fd = open("in1", O_RDONLY);
printf("%d\n", fd);
}
and this too please
#include <fcntl.h>
main()
{
int... (1 Reply)
Discussion started by: ruffenator
1 Replies
9. UNIX for Dummies Questions & Answers
I am new to unix, and have just taken over maintenance/admin of a unix system. I am trying to restore a full backup of one of the consoles on the system. The tape backup device appears to be recognized as it is an option to restore from. After choosing the tape backup and loading the tape, a... (3 Replies)
Discussion started by: ecoli69
3 Replies
Info::Layer2::Cisco(3pm) User Contributed Perl Documentation Info::Layer2::Cisco(3pm)
NAME
SNMP::Info::Layer2::Cisco - SNMP Interface to L3 and L2+L3 IOS Cisco Device that are not covered in other classes.
AUTHOR
Max Baker
SYNOPSIS
# Let SNMP::Info determine the correct subclass for you.
my $cisco = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly to SNMP::Session
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.
";
my $class = $cisco->class();
print "SNMP::Info determined this device to fall under subclass : $class
";
DESCRIPTION
Subclass for Generic Cisco Routers running IOS
Inherited Classes
SNMP::Info::CiscoVTP
SNMP::Info::CDP
SNMP::Info::CiscoStats
SNMP::Info::CiscoImage
SNMP::Info::CiscoRTT
SNMP::Info::CiscoQOS
SNMP::Info::CiscoConfig
SNMP::Info::Layer2
Required MIBs
Inherited Classes' MIBs
See "Required MIBs" in SNMP::Info::CiscoVTP for its own MIB requirements.
See "Required MIBs" in SNMP::Info::CiscoStats for its own MIB requirements.
See "Required MIBs" in SNMP::Info::CDP for its own MIB requirements.
See "Required MIBs" in SNMP::Info::CiscoImage for its own MIB requirements.
See "Required MIBs" in SNMP::Info::CiscoRTT for its own MIB requirements.
See "Required MIBs" in SNMP::Info::CiscoQOS for its own MIB requirements.
See "Required MIBs" in SNMP::Info::CiscoConfig for its own MIB requirements.
See "Required MIBs" in SNMP::Info::Layer2 for its own MIB requirements.
GLOBALS
These are methods that return scalar value from SNMP
$cisco->vendor()
Returns 'cisco'
Global Methods imported from SNMP::Info::CiscoVTP
See documentation in "GLOBALS" in SNMP::Info::CiscoVTP for details.
Globals imported from SNMP::Info::CDP
See documentation in "GLOBALS" in SNMP::Info::CDP for details.
Globals imported from SNMP::Info::CiscoStats
See documentation in "GLOBALS" in SNMP::Info::CiscoStats for details.
Globals imported from SNMP::Info::CiscoImage
See documentation in "GLOBALS" in SNMP::Info::CiscoImage for details.
Globals imported from SNMP::Info::CiscoRTT
See documentation in "GLOBALS" in SNMP::Info::CiscoRTT for details.
Globals imported from SNMP::Info::CiscoQOS
See documentation in "GLOBALS" in SNMP::Info::CiscoQOS for details.
Globals imported from SNMP::Info::CiscoConfig
See documentation in "GLOBALS" in SNMP::Info::CiscoConfig for details.
Globals imported from SNMP::Info::Layer2
See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash.
Table Methods imported from SNMP::Info::CiscoVTP
See documentation in "TABLE METHODS" in SNMP::Info::CiscoVTP for details.
Table Methods imported from SNMP::Info::CDP
See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
Table Methods imported from SNMP::Info::CiscoStats
See documentation in "TABLE METHODS" in SNMP::Info::CiscoStats for details.
Table Methods imported from SNMP::Info::CiscoImage
See documentation in "TABLE METHODS" in SNMP::Info::CiscoImage for details.
Table Methods imported from SNMP::Info::CiscoRTT
See documentation in "TABLE METHODS" in SNMP::Info::CiscoRTT for details.
Table Methods imported from SNMP::Info::CiscoQOS
See documentation in "TABLE METHODS" in SNMP::Info::CiscoQOS for details.
Table Methods imported from SNMP::Info::CiscoConfig
See documentation in "TABLE METHODS" in SNMP::Info::CiscoConfig for details.
Table Methods imported from SNMP::Info::Layer2
See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
perl v5.12.4 2011-09-28 Info::Layer2::Cisco(3pm)