Here is the format of my file; I do not have the delimiter in the file for the data to be separated.
Each line in the file is in the following format. File contains the data of different WebOfferCodes
Item Code | Account Number | Card Number | Source code | WebOfferCode
12digits | 10... (4 Replies)
Howdy experts,
We have some ranges of number which belongs to particual group as below.
GroupNo StartRange EndRange
Group0125 935300 935399
Group2006 935400 935476
937430 937459
Group0324 935477 935549
... (6 Replies)
divide input values into specified number (-100 or -200) according to the key (a1 or a2 ....)
For ex: if we give -100 in the command line it would create 100 number intervals (1-100, 100-200, 200-300) untill it covers the value 300 in a1.
Note: It should work the same even with huge numbers... (3 Replies)
Hello All,
I am having problem to find what is the smallest number from 90% of highest numbers from all numbers in file. I am having file with thousands of lines and hundreds of columns.
I am familiar mainly with bash but I am open to whatever suggestion witch will lead to the solutions.
If I... (11 Replies)
Hi All,
I am stuck with this problem.
I have some 100000 (.dat) 1.dat, 2.dat,3.dat etc until 100000.dat files which look like this:
1.dat
1
2
3
4
0.99
4.54
All my files 1.dat until 100000.dat look the same but with different numbers.
I have to first add all the numbers in each... (1 Reply)
Hi,
I have a file abc.dat. It contains the fileds of empid, empname, empcity. each city contains 10 records. i want to create the city file and pass the same city records into the file. I don't know the city names.
In unix using awk command how can we do?
abc.dat:
1 john delhi
2... (2 Replies)
Hi again. Sorry for all the questions — I've tried to do all this myself but I'm just not good enough yet, and the help I've received so far from bartus11 has been absolutely invaluable. Hopefully this will be the last bit of file manipulation I need to do.
I have a file which is formatted as... (4 Replies)
Hello to everyone,
I have this complex problem and I don't how to do it. I'm not sure if awk could be a good choice to do it or could be easiest in bash or perl.
A kind of introduction would be:
- I have a digit, lets say 3.
- I can expand/spread out the digit 3 to cover all possible... (7 Replies)
Discussion started by: Ophiuchus
7 Replies
LEARN ABOUT CENTOS
struct_station_info
STRUCT STATION_INFO(9) Actions and configuration STRUCT STATION_INFO(9)NAME
struct_station_info - station information
SYNOPSIS
struct station_info {
u32 filled;
u32 connected_time;
u32 inactive_time;
u64 rx_bytes;
u64 tx_bytes;
u16 llid;
u16 plid;
u8 plink_state;
s8 signal;
s8 signal_avg;
struct rate_info txrate;
struct rate_info rxrate;
u32 rx_packets;
u32 tx_packets;
u32 tx_retries;
u32 tx_failed;
u32 rx_dropped_misc;
struct sta_bss_parameters bss_param;
struct nl80211_sta_flag_update sta_flags;
int generation;
const u8 * assoc_req_ies;
size_t assoc_req_ies_len;
u32 beacon_loss_count;
s64 t_offset;
enum nl80211_mesh_power_mode local_pm;
enum nl80211_mesh_power_mode peer_pm;
enum nl80211_mesh_power_mode nonpeer_pm;
};
MEMBERS
filled
bitflag of flags from enum station_info_flags
connected_time
time(in secs) since a station is last connected
inactive_time
time since last station activity (tx/rx) in milliseconds
rx_bytes
bytes received from this station
tx_bytes
bytes transmitted to this station
llid
mesh local link id
plid
mesh peer link id
plink_state
mesh peer link state
signal
The signal strength, type depends on the wiphy's signal_type. For CFG80211_SIGNAL_TYPE_MBM, value is expressed in _dBm_.
signal_avg
Average signal strength, type depends on the wiphy's signal_type. For CFG80211_SIGNAL_TYPE_MBM, value is expressed in _dBm_.
txrate
current unicast bitrate from this station
rxrate
current unicast bitrate to this station
rx_packets
packets received from this station
tx_packets
packets transmitted to this station
tx_retries
cumulative retry counts
tx_failed
number of failed transmissions (retries exceeded, no ACK)
rx_dropped_misc
Dropped for un-specified reason.
bss_param
current BSS parameters
sta_flags
station flags mask & values
generation
generation number for nl80211 dumps. This number should increase every time the list of stations changes, i.e. when a station is added
or removed, so that userspace can tell whether it got a consistent snapshot.
assoc_req_ies
IEs from (Re)Association Request. This is used only when in AP mode with drivers that do not use user space MLME/SME implementation.
The information is provided for the cfg80211_new_sta calls to notify user space of the IEs.
assoc_req_ies_len
Length of assoc_req_ies buffer in octets.
beacon_loss_count
Number of times beacon loss event has triggered.
t_offset
Time offset of the station relative to this host.
local_pm
local mesh STA power save mode
peer_pm
peer mesh STA power save mode
nonpeer_pm
non-peer mesh STA power save mode
DESCRIPTION
Station information filled by driver for get_station and dump_station.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 STRUCT STATION_INFO(9)