Is there any way using the sort command to get something like a GROUP BY clause?
I'm trying to sort through race_event records and group them by those individuals that raced together in the same race on the same date at the same track, but i run into a problem when there were days when the track... (6 Replies)
Hi,
Need awk help to group and print lines to format the output as shown below
INPUT FORMAT
set echo on
set heading on
set spool on
/* SCHEMA1 */ CREATE TABLE T1;
/* SCHEMA1 */ CREATE TABLE T2;
/* SCHEMA1 */ CREATE TABLE T3;
/* SCHEMA1 */ CREATE TABLE T4;
/* SCHEMA1 */ CREATE TABLE T5;... (5 Replies)
I wrote script in bash which generates this report:
User1,admin,rep,User2,shell,path1,x1,r1
User2,admin,rep,User7,shell,path1,x1,r1
User3,admin,rep,User4,shell,path1,x1,r1
User4,admin,rep,User3,shell,path1,x1,r1
User5,admin,rep,User1,shell,path1,x1,r1
User6,admin,rep,User5,shell,path1,x1,r1... (6 Replies)
Hi @ all
I'm trying to achive to this problem,
I've a 2-column composed file as the following:
192.168.1.2 2
192.168.1.3 12
192.168.1.2 4
192.168.1.4 3
cpc1-swan1-2-3-cust123.swan.cable.ntl.com 4
192.168.1.3 5
192.168.1.2 10
192.168.1.4 8... (8 Replies)
Hi All
I do have a file like this with 6 columns. Groups of data merge together and the group number is indicated above each group.
1
1 12 26 289 3.2e-027 GCGTATGGCGGC
2 12 26 215 6.7e+006 TTCCACCTTTTG
3 9 26 175 ... (1 Reply)
Hello,
I have a file and i want to sort by third column and extract the three top lines of each group, it is determined by the second column (144, 89, 55, etc).
Could you please help me with the appropiate awk shell script
XLY-XLP 144 0.592772 XLY-XLE 144 0.798121 ... (3 Replies)
hi,
I want to create a volume group of 200 GB and then create different file systems on that.
please help me out. Its becomes confusing when the PP calculating PP.
I don't understand this concept. (2 Replies)
I'm trying to return only one row with the highest value for PCT_MAX_USED. Any suggestions?
When I add this code, I get the ORA-00937 error.
trunc(max(decode( kbytes_max, 0, 0, (kbytes_alloc/kbytes_max)*100))) pct_max_used
This is the original and returns all rows.
select (select... (3 Replies)
Discussion started by: progkcp
3 Replies
LEARN ABOUT LINUX
snmp_view_based_acm_mib
snmp_view_based_acm_mib(3erl) Erlang Module Definition snmp_view_based_acm_mib(3erl)NAME
snmp_view_based_acm_mib - Instrumentation Functions for SNMP-VIEW-BASED-ACM-MIB
DESCRIPTION
The module snmp_view_based_acm_mib implements the instrumentation functions for the SNMP-VIEW-BASED-ACM-MIB, and functions for configuring
the database.
The configuration files are described in the SNMP User's Manual.
EXPORTS
configure(ConfDir) -> void()
Types ConfDir = string()
This function is called from the supervisor at system start-up.
Inserts all data in the configuration files into the database and destroys all old rows with StorageType volatile . The rows created
from the configuration file will have StorageType nonVolatile .
All snmp counters are set to zero.
If an error is found in the configuration file, it is reported using the function config_err/2 of the error report module, and the
function fails with the reason configuration_error .
ConfDir is a string which points to the directory where the configuration files are found.
The configuration file read is: vacm.conf .
reconfigure(ConfDir) -> void()
Types ConfDir = string()
Inserts all data in the configuration files into the database and destroys all old data, including the rows with StorageType non-
Volatile . The rows created from the configuration file will have StorageType nonVolatile .
Thus, the data in the SNMP-VIEW-BASED-ACM-MIB, after this function has been called, is the data from the configuration files.
All snmp counters are set to zero.
If an error is found in the configuration file, it is reported using the function config_err/2 of the error report module, and the
function fails with the reason configuration_error .
ConfDir is a string which points to the directory where the configuration files are found.
The configuration file read is: vacm.conf .
add_sec2group(SecModel, SecName, GroupName) -> Ret
Types SecModel = v1 | v2c | usm
SecName = string()
GroupName = string()
Ret = {ok, Key} | {error, Reason}
Key = term()
Reason = term()
Adds a security to group definition to the agent config. Equivalent to one vacmSecurityToGroup-line in the vacm.conf file.
delete_sec2group(Key) -> Ret
Types Key = term()
Ret = ok | {error, Reason}
Reason = term()
Delete a security to group definition from the agent config.
add_access(GroupName, Prefix, SecModel, SecLevel, Match, RV, WV, NV) -> Ret
Types GroupName = string()
Prefix = string()
SecModel = v1 | v2c | usm
SecLevel = string()
Match = prefix | exact
RV = string()
WV = string()
NV = string()
Ret = {ok, Key} | {error, Reason}
Key = term()
Reason = term()
Adds a access definition to the agent config. Equivalent to one vacmAccess-line in the vacm.conf file.
delete_access(Key) -> Ret
Types Key = term()
Ret = ok | {error, Reason}
Reason = term()
Delete a access definition from the agent config.
add_view_tree_fam(ViewIndex, SubTree, Status, Mask) -> Ret
Types ViewIndex = integer()
SubTree = oid()
Status = included | excluded
Mask = null | [integer()], where all values are either 0 or 1
Ret = {ok, Key} | {error, Reason}
Key = term()
Reason = term()
Adds a view tree family definition to the agent config. Equivalent to one vacmViewTreeFamily-line in the vacm.conf file.
delete_view_tree_fam(Key) -> Ret
Types Key = term()
Ret = ok | {error, Reason}
Reason = term()
Delete a view tree family definition from the agent config.
Ericsson AB snmp 4.19 snmp_view_based_acm_mib(3erl)