Search Results

Search: Posts Made By: thinktank
2,675
Posted By thinktank
export TZ=UTC;date -j -f %Y-%m-%d-%H%M%S +%s ...
export TZ=UTC;date -j -f %Y-%m-%d-%H%M%S +%s 1970-01-01-000000
export: Command not found.
date: illegal option -- j
date: illegal option -- f
usage: date [-u] mmddHHMM[[cc]yy][.SS]
...
2,675
Posted By thinktank
I have no sufficient right to modify the script...
I have no sufficient right to modify the script generating the statistics.

Can i have a way of appending the output of

$ nawk 'BEGIN{print srand()}'

as a new column of data in the file
1,100
Posted By thinktank
Appending standard C Time on each line out output
I have a command :
nawk 'BEGIN{print srand()}'

which gives the amount of seconds between January 1st 1970 00:00:00 (Unix Epoch) and the present time, to the closest second and I would want to...
2,675
Posted By thinktank
Appending unix timestamp to every line of a statistical file
I have a statistical file populating every minute as below:

2011-11-11-1108 1955 891
2011-11-11-1109 2270 1049
2011-11-11-1110 1930 904
2011-11-11-1111 2030 931
2011-11-11-1112 1944 900...
1,164
Posted By thinktank
Thanks. It worked like a charm to produce the...
Thanks. It worked like a charm to produce the output as below:
>tail -f Attempts | sed 's/.*[-^-]//g'
1454,1934,881
1455,1936,886
1456,1843,842

where the first column is the time.

However...
1,164
Posted By thinktank
Editing the timestamp
i have data in 3 columns in the format below

2011-11-01-0936,2115,978
2011-11-01-0937,2242,1046
2011-11-01-0938,2538,1186
2011-11-01-0939,2295,1074
2011-11-01-0940,2454,1142...
Forum: Infrastructure Monitoring 10-18-2011
2,897
Posted By thinktank
I would so very much want to modify existing...
I would so very much want to modify existing MIBs. I am trying to figure out one file where snmp polls for its data say number of errors or some instances so that i can map the output of that command...
Forum: Infrastructure Monitoring 10-18-2011
2,897
Posted By thinktank
I am using Lithium Console for Server monitoring....
I am using Lithium Console for Server monitoring. My question is considering that there are the custom SUN SNMP MIBs currently configured can i not edit these to poll just this item of data. Where do...
Forum: Infrastructure Monitoring 10-17-2011
2,897
Posted By thinktank
Send statistical data via SNMP
I am working on a SunOS 5.10 Generic_142900-03 sun4v sparc SUNW,Netra-T2000
With this command: (Unix based cronjob)

tail -1 FSC-xxxxxxxxx.stat | nawk -F, '{print $2}'

I want to send the...
Forum: Cybersecurity 09-30-2011
2,196
Posted By thinktank
Mail server to Unix Server Virus threat
I want to connect a SunOS Generic_142900-03 sun4v sparc SUNW,Netra-T2000 server carrying live traffic to my mail server so that i can forward the email on root on the server to my corporate email...
Forum: Solaris 09-26-2011
2,582
Posted By thinktank
Please elaborate your suggested solution and...
Please elaborate your suggested solution and include how to do it and the associated commands. Thank you
Forum: Solaris 09-26-2011
2,582
Posted By thinktank
Can you elaborate? I am more interested in the...
Can you elaborate? I am more interested in the code that sends the SMS and how to configure it to send to my mobile number eg +27780008000
Forum: Solaris 09-26-2011
2,582
Posted By thinktank
Help with SMS sending Script
I would like assistance on a script that could send a text message to my mobile phone when I run a command and the text should be send only if a condition is met. I want to have a cron-job running...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 02:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy