hello everyone..
I was wondering is there a effective way to sort file that contains colomns and numeric one.
file
218900012192 8938929 8B8DF3664 1E7E2D59D5 0000 26538 1234 74024415
218900012979 8938929 8B8DF3664 1E7E2D59D5 0000 26538 1234 74024415
218900012992 8938929 8B8DF3664... (2 Replies)
I don't really know much about UNIX commands, so if someone could help me understand how to do this, I'd really appreciate it.
I have a text file with data that looks like this (filename: numbers.txt):
1 1 1 1 1 1 1 1 1 2 1 1_2 2_1
1 1 1 1 1 1 1 1 2 1 2 1_2 2_1
1 1 1 1 1 1 1 1 2 1 2 1_2 2_1... (12 Replies)
Hi Guys,
I have two files that I am using:
File1 is as follows:
wwe
khfgv
jfo
jhgfd
hoaha
hao
lkahe
This is like a master file which has entries in the order which I want. (4 Replies)
Good morning. I have a piece of code that is currently taking multiple files and using the CAT.exe command to combine into one file that is then sorted in reverse order based on the 3rd field of the file, then displayed on screen. I am trying to change this so that the files are being combined into... (4 Replies)
Hello,
I need some sort of way to extract every date contained in a file, and count how many of those dates there are.
Here are the specifics:
The date format I'm looking for is mm/dd/yyyy
I only need to look after line 45 in the file (that's where the data begins)
The columns of... (2 Replies)
Hi,
I have a matrix like this:
Algorithm predicted_gene start_point end_point
A x 65 85
B x 70 80
C x 75 85
D x 10 20
B y 125 130
C y 120 140
D y 200 210
Here there are four tab-separated columns. The first column is the used algorithm for prediction, and there are 4 of them A-D.... (8 Replies)
cat sample.csv
ID,Name,no
1,AAA,1
2,BBB,1
3,AAA,1
4,BBB,1
cut -d',' -f2 sample.csv | sort | uniq
this gives only the 2nd column values
Name
AAA
BBB
How to I get all the columns of CSV along with this? (1 Reply)
Hi ,
i have a belwo script which is used to get sectors per track value extarcted from Solaris machine:
for DISK in /dev/dsk/c*t*d*s*; do value=`prtvtoc "$DISK" | sed -n -e '/Dimensions/,/Flags/{/Dimensions/d; /Flags/d; p; }' | sed -n -e '/sectors\/track/p'`; if ; then echo... (4 Replies)
I am trying to sort, do uniq by 1st column and report this 4 columns tab delimiter table , eg
chr10:112174128 rs2255141 2E-10 Cholesterol, total
chr10:112174128 rs2255141 7E-16 LDL
chr10:17218291 rs10904908 3E-11 HDL Cholesterol
chr10:17218291 rs970548 8E-9 TG... (4 Replies)
For some reason I am having difficulty performing what should be a fairly easy task. I would like to print lines of a file that have a unique value in the first field. For example, I have a large data-set with the following excerpt:
PS003,001 MZMWR/ L-DWD// *
PS003,001... (4 Replies)
Discussion started by: jvoot
4 Replies
LEARN ABOUT FREEBSD
snmp_usm
SNMP_USM(3) BSD Library Functions Manual SNMP_USM(3)NAME
snmp_usm -- user-based security module for bsnmpd(1)LIBRARY
(begemotSnmpdModulePath."usm" = /usr/lib/snmp_usm.so)
DESCRIPTION
The snmp_usm module implements SNMPv3 User-Based Security Model MIB as defined in RFC 3414. The module is used to manage the internal list
of SNMPv3 USM active users in bsnmpd. The module must be loaded for bsnmpd to receive and process SNMPv3 USM PDUs correctly.
IMPLEMENTATION NOTES
A short description of the objects in the MIB follows.
usmStats The subtree contains statistics for the User-based Security Model PDU processing. The statistics are reset each time the module
is loaded.
usmUserSpinLock
An advisory lock used to coordinate several Command Generator Applications when altering the SNMP USM users.
usmUserTable
The table contains all SNMP USM users configured in bsnmpd. The table contains the following objects
usmUserEngineID An SNMP engine's administratively-unique identifier. Must be set to the same Engine ID as bsnmpd so that the user
will actually be allowed to communicate with the daemon. The column is used as entry key and is not accessible
for GET or SET operations.
usmUserName The USM user name. The second entry key, again not accessible for GET or SET operations.
usmUserSecurityName
The column has the exact same value as the usmUserName column, however is accessible for GET operations.
usmUserCloneFrom
A GET on this column will return an empty OID. SET operations are currently not supported.
usmUserAuthProtocol
The value of this column contains the OID corresponding to the authentication protocol used by the USM user. The
following protocols and their OIDs are known to snmp_usm module
NoAuthProtocol 1.3.6.1.6.3.10.1.1.1
HMACMD5AuthProtocol 1.3.6.1.6.3.10.1.1.2
HMACSHAAuthProtocol 1.3.6.1.6.3.10.1.1.3
usmUserAuthKeyChange, usmUserOwnAuthKeyChange
These columns may be used to change the user's authentication key.
usmUserPrivProtocol
The value of this column contains the OID corresponding to the privacy protocol used by the USM user. The follow-
ing protocols and their OIDs are known to snmp_usm module
NoPrivProtocol 1.3.6.1.6.3.10.1.2.1
DESPrivProtoco 1.3.6.1.6.3.10.1.2.2
AesCfb128Protocol 1.3.6.1.6.3.10.1.2.4
usmUserPrivKeyChange, usmUserOwnPrivKeyChange
These columns may be used to change the user's privacy key.
usmUserPublic An arbitrary octet string that may be modified to confirm a SET operation on any of the columns was successful.
usmUserStorageType
This column always has either of two values. Entries created via bsnmpd's configuration file always have this
column set to readOnly (5) and it is not possible to modify those entries. Entries created by Command Generator
Applications always have this column set to volatile(2) and such entries are lost when the module is restarted. A
SET operation on this column is not allowed.
usmUserStatus This column is used to create new USM user entries or delete existing ones from the table.
FILES
/usr/share/snmp/defs/usm_tree.def
The description of the MIB tree implemented by snmp_usm.
SEE ALSO bsnmpd(1), gensnmptree(1), snmpmod(3)STANDARDS
IETF RFC 3414
AUTHORS
Shteryana Shopova <syrinx@FreeBSD.org>
BSD September 9, 2010 BSD