If you think the number of fields may be more then give that example.
You have to know the data structure and the fields.
I cannot give a solution for some thing I dont know about.
I can change you data to this.
But will it be of any help to you?
Hi all,
I have a problem to format data from different database queries into one look. The input data are as follows, every line has the same number of values but a different number of characters:
adata, bdata, cdata, ddata
fffdata, gdata, hdata, idata
jdata, kdata, ... (6 Replies)
I have a very easy one for you this morning :)
A file containing this type of formated data:
500190 488.356
500193 546.7
566486 466.75
506654 288
However, it should be formated like this:
500190 488.356
500193 546.700
566486 466.750
506654 288.000
I know that this can be... (3 Replies)
I have this format of columns
Quote
2 Points:
np x y z
0 767203.9 2120710 917.2959
1 767071.6 2120658 2793.661
Surface Polyline
Color: (0.0400229 1 0.845803)
2 Points:
np x y ... (7 Replies)
I have a file which looks like this:
/* ----------------- EDW$MOC139_R_NNA_BR_SUM_FACT2 ----------------- */
insert_job: EDW$MOC139_R_NNA_BR_SUM_FACT2 job_type: c
command: /home/btchproc/load_process/batch_files/batch_nna_brn_split_sum_fact2.sh m
machine: edwprod02.dsm.pwj.com
#owner:... (29 Replies)
I have a file : e.g.
Charles Dixon Age 23 Hometown Darlington Postcode DL1 2DC
Fred Bixton Age 34 Hometown Leeds Postcode LS1 5XS
Jim Davis Age 48 Hometown Cardiff CF2 8YY
Is it possible to format this file into uniform columns using, say, the spaces as... (11 Replies)
Hi all,
i have written this script:
awk -F';' '
BEGIN {
printf "\n"
printf "\n"
printf "\n"
printf "----------------------------------------------\n"
print " For test "
printf "----------------------------------------------\n"
test_200 = 0
test_300 = 0
test_500 = 0
test_1000 = 0... (11 Replies)
My program output text file data in columns format. My problem is the column headers do not align with the data and if filesystem and Mounted On columns pathname are too long the text will not wrap.
Is there any function in Unix that I can use in my code that will align the data for each... (11 Replies)
Discussion started by: dellanicholson
11 Replies
LEARN ABOUT DEBIAN
rlm_acct_unique
rlm_acct_unique(5) FreeRADIUS Module rlm_acct_unique(5)NAME
rlm_acct_unique - FreeRADIUS Module
DESCRIPTION
The rlm_acct_unique module creates a unique accounting session Id.
Many NAS vendors have their equipment supply an Acct-Session-Id attribute which is not unique over reboots. This makes accounting diffi-
cult, as there will be many independent sessions with the same Acct-Session-Id attribute. This module uses the Acct-Session-Id attribute,
along with other attributes in the request, to create a more unique session ID, called Acct-Unique-Session-Id.
The main configuration items to be aware of are:
key A list of the attributes used in calculating an MD5 hash which is used as the value for the unique session id.
CONFIGURATION
modules {
...
acct_unique {
key = "User-Name, Acct-Session-Id, NAS-IP-Address, NAS-Port"
}
...
}
...
preacct {
...
acct_unique
...
}
After generating the MD5 hash, the module adds it to the accounting request packet received from the client. It will look something like
this in your detail file:
Acct-Unique-Session-Id = "c66ef57e480b9d26"
NOTE: Any attribute you specify that is not found in the 'dictionary' file will cause the server to fail and exit with an error.
NOTE: If you want the Acct-Unique-Session-Id of the Start and the Stop packet of a particular session to match, you must use values for
the key that will stay the same for the Start and Stop. The above example is a good start. Adding 'Acct-Session-Time', for example, would
cause a mismatch because that value is not the same on the Start and Stop accounting packets.
SECTIONS
authorization, pre-accounting, accounting
FILES
/etc/raddb/radiusd.conf
SEE ALSO radiusd(8), radiusd.conf(5)AUTHORS
Chris Parker, cparker@segv.org
3 February 2004 rlm_acct_unique(5)