This can detect some kinds of sequences. It assumes anything with digits and an extension is part of a sequence, and tells different sequences apart from the string before the last set of digits and the extension. It doesn't need the files in sorted order.
Dear Experts,
Have been seraching this forum from this morning for my query but dint find hence posting it her... Basically i have two input files BSS and MSS which has a unique string , hence i hav tried and seperated the text to compare frm both files .. Any my present input files look like... (6 Replies)
Dear Perl's Users,
Could anyone help me how to solve my problem. I have data with details below.
TTY NAME SEQUENCES
U-0 UNIX 0
U-1 UNIX 1
U-2 UNIX 2 <-- From 2 jump to 5
U-5 UNIX 5
U-6 UNIX 6 <-- From 6 jump to 20
U-20 ... (2 Replies)
Dear Perl users,
I need your help to solve my problem below.
I want to print the sequence number without missing number within the range.
E.g. my sequence number :
1 2 3 4 5 6 7 8 11 12 13 14
my desired output:
1 -8 , 11-14
my code below but still problem with the result:
1 - 14
1 -... (2 Replies)
Am using unix aix KSH...
I have the files called
MMRR0106.DAT
MMRR0206.DAT
MMRR0406.DAT
MMRR0506.DAT
MMRR0806.DAT
....
...
MMRR3006.DAT
MMRR0207.DAT
These files are in one dircetory /venky ?
I want the output like this ?
Missing files are :
MMRR0306.DAT
MMRR0606.DAT... (7 Replies)
I want to listed files every hours and check the missing sequence
my file format is
CV.020220131430.txt
CV.020220131440.txt
CV.020220131450.txt
CV.ddmmyyhhm.txt
how to check if i have missing files in sequence ..
thanks (3 Replies)
I want to use case statement to find the range of missing sequence in my directory which it has some few ( dat & DAT ) files
my directory /home/arm/my_folder/20130428 contains :
f01_201304280000.DAT
f01_201304280001.DAT
f01_201304280003.DAT
f02_201304280000.dat
f02_201304280002.dat... (2 Replies)
Hi,
I need to find out the missing sequence from a list. However the issue is there is not a fixed start and end, it depends on the generation of files.
For eg, it might start with 4000 and end with 9000.
Based on this, I need a script which greps the start and end sequence from the... (3 Replies)
Hi,
I have a file which contains few columns and the first column has the file names, and I would like to identify the missing file sequence number form the file and would copy to another file. My files has data in below format.
APKRISPSIN320131231201319_0983,1,54,125,... (5 Replies)
Dear all
i am having file with max 24 entries. i want to find which sequence is missing
file is like this
df00231587.dat
df01231587.dat
df03231587.dat
df05231587.dat
.
.
.
df23231587.dat
the changing seq is 00-23,so i would like to find out which seq is missing like in above... (13 Replies)
Hi All,
I have a requirement that i need to list only the missing sequences with a unix script.
For Example:
Input:
FILE_001.txt
FILE_002.txt
FILE_005.txt
FILE_006.txt
FILE_008.txt
FILE_009.txt
FILE_010.txt
FILE_014.txt
Output:
FILE_003.txt
FILE_004.txt
FILE_007.txt
FILE_011.txt... (5 Replies)
Discussion started by: Arun1992
5 Replies
LEARN ABOUT DEBIAN
snmp::info::ciscopower
Info::CiscoPower(3pm) User Contributed Perl Documentation Info::CiscoPower(3pm)NAME
SNMP::Info::CiscoPower - SNMP Interface to data stored in CISCO-POWER-ETHERNET-EXT-MIB.
AUTHOR
Bill Fenner
SYNOPSIS
# Let SNMP::Info determine the correct subclass for you.
my $poe = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.
";
my $class = $poe->class();
print "SNMP::Info determined this device to fall under subclass : $class
";
DESCRIPTION
The Info::PowerEthernet class needs a per-device helper function to properly map the "pethPsePortTable" to "ifIndex" values. This class
provides that helper, using CISCO-POWER-ETHERNET-EXT-MIB. It does not define any helpers for the extra values that this MIB contains.
Create or use a device subclass that inherit this class. Do not use directly.
For debugging purposes you can call this class directly as you would SNMP::Info
my $poe = new SNMP::Info::CiscoPower (...);
Inherited Classes
none.
Note that it requires that the device inherits from Info::Entity.
Required MIBs
CISCO-POWER-ETHERNET-EXT-MIB
GLOBALS
none.
TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash.
Power Port Table
$poe->peth_port_ifindex()
Maps the "pethPsePortTable" to "ifIndex" by way of the ENTITY-MIB.
$poe->peth_port_power()
Power supplied by PoE ports, in milliwatts ("cpeExtPsePortPwrConsumption")
CDP Port table
$poe->peth_port_neg_power()
Power negotiated using CDP, in milliwats ("cdpCachePowerConsumption")
perl v5.12.4 2011-09-28 Info::CiscoPower(3pm)