Search Results

Search: Posts Made By: rob171171
1,636
Posted By rob171171
Thank you so much, that 1s 100% exactly what i...
Thank you so much, that 1s 100% exactly what i was after. My approach was much different tyring to use sed and more complex solutions
Thanks again

---------- Post updated at 02:40 PM ----------...
1,636
Posted By rob171171
Find & Replace
Hi
I am looking to rename the contents of this dir, each one with a new timestamp, interval of a second for each so it the existing format is on lhs and what I want is to rename each of these to...
3,641
Posted By rob171171
iNode Usage Identification
Hi

My SunOS alps 5.10 Generic_125100-05 sun4v sparc SUNW,Sun-Fire-T200

appears to have reached 100% util on its iNodes.



# df -F ufs -o i
Filesystem iused ifree %iused ...
1,706
Posted By rob171171
no I need to pull the data every 15 mins. The...
no I need to pull the data every 15 mins. The pkill ftp comes in at the end of the after the ftp has occurred so thats why I was hoping it would kill off the process and not leave lodas of hanging...
1,706
Posted By rob171171
but have a look at my crontab. I think due to...
but have a look at my crontab. I think due to fact I have so many running that the ones taht are running every 15 mins, are not clearing down properely and this then affects other ftp / snmp jobs...
1,706
Posted By rob171171
is it worth inserting pkill ftp into script to...
is it worth inserting pkill ftp into script to prevent this?


#!/usr/bin/sh
cd /home/it/capopt/SGSN/"$1"/RobH_Stats_CPU
files=`gdate -d yesterday +%Y%m%d`
ftp -ni <<EOT
open "$1"
user xxx...
1,706
Posted By rob171171
why am i left with so many processes running so? ...
why am i left with so many processes running so?


ps -ef | grep capopt
capopt 8206 8200 0 21:17:00 ? 0:00 ftp -ni
capopt 5132 5127 0 13:16:00 ? 0:00 /usr/bin/sh...
1,706
Posted By rob171171
How to properely exit a script
I have now numersous .sh scripts running through cron. Many run at same time. I am ending up with many of the processes used to run them left running and I think tghis is preventing further ones...
5,273
Posted By rob171171
thanks--got it. so if there is any conflict or...
thanks--got it. so if there is any conflict or cron cant run it will log it in /var/cron/log ??. WHats difference between the ">" & "<" symbols?
5,273
Posted By rob171171
Tks, however i have no cron dir in /var/adm. Im...
Tks, however i have no cron dir in /var/adm.
Im running SunOS alps 5.10 Generic_125100-05 sun4v sparc SUNW,Sun-Fire-T200
5,273
Posted By rob171171
Running Cron -- same time jobs
Hi
Is it possible to run different cron jobs at the same time? It appears that when I run ones at 15 min granularity that they may prevent ones running later in the day.
Should crons run at same...
4,064
Posted By rob171171
ah yes I had r10 with A9.. which I have now...
ah yes I had r10 with A9.. which I have now corrected

Many Thanks for your help
4,064
Posted By rob171171
alps$ ls -1 r* r1 r10 r11 r12 r13 r14...
alps$ ls -1 r*
r1
r10
r11
r12
r13
r14
r15
r16
r17
r18
r19
r2
r20
r21
r22
r23
r24
r3
r4
4,064
Posted By rob171171
Thnak you, I have re-read and still see output as...
Thnak you, I have re-read and still see output as follows


alps$ paste -sd " " r* > xx
alps$ cat xx
A1 B1 C1 D1 E1 F1 G1 H1 I1 J1 K1 L1 M1 N1 O1 P1 Q1 R1 S1 T1 U1 V1 W1 X1 Y1 Z1 AA1 AB1 AC1 AD1...
4,064
Posted By rob171171
awww yes absolutely. When I it looks perfect ...
awww yes absolutely.
When I it looks perfect

Next thing is why does it not come out in order as per my previous post
4,064
Posted By rob171171
ok here goes paste outout on cli works fine ...
ok here goes

paste outout on cli works fine

paste -sd " " r*
A1 B1 C1 D1 E1 F1 G1 H1 I1 J1 K1 L1 M1 N1 O1 P1 Q1 R1 S1 T1 U1 V1 W1 X1 Y1 Z1 AA1 AB1 AC1 AD1 AE1 AF1 AG1 AK1 AL1 AM1 AN1 AO1 AP1...
4,064
Posted By rob171171
the problem is the format changes when I use the...
the problem is the format changes when I use the redirect and write to another file.
4,064
Posted By rob171171
Hi ctsgnb, the syntax paste -sd " " infileis...
Hi ctsgnb, the syntax
paste -sd " " infileis one you kindly gave me earlier today and works perfectly well when run from command line. The issue occurs when I try and re-direct it with > .
This...
4,064
Posted By rob171171
Redirecting paste cmd
using paste -- sd " " via command line give sme desired output however when I use > it changes the format slightly.
Anyone any ideas as to why this may happen

Running
SunOS alps 5.10...
2,403
Posted By rob171171
great Thanks again for your help! ----------...
great Thanks again for your help!

---------- Post updated at 06:33 AM ---------- Previous update was at 06:21 AM ----------

strange

when I run paste -sd " " PMT_GGSN_WPP_APN-$DATE* from...
2,403
Posted By rob171171
Many Thanks (again) ctsgnb Can you explain the...
Many Thanks (again) ctsgnb
Can you explain the xargs ???

---------- Post updated at 06:11 AM ---------- Previous update was at 06:10 AM ----------

and yes I'm all over the man xargs!
2,403
Posted By rob171171
If I could attach the desired output via excel...
If I could attach the desired output via excel here it would help. Is that possible?
(sory ctsgnb but your lat piost did not work)
awk '{print $1}' PMT_GGSN_WPP_APN-20110517* | xargs -n4
awk...
2,403
Posted By rob171171
Every file has 39 entries. Every day 24 files...
Every file has 39 entries.
Every day 24 files are produced, 1 for every hour
So my outfile should have 24 lines X 39 columns
Does that make sense?
2,403
Posted By rob171171
Parsing multipe data entries
Hi

I am using command
awk '{printf $1 " "}' PMT_GGSN_WPP_APN-20110517* > outfile The * refers to 24 files (1 generated per hour per day) with each one having the output of

A1
A2 ...
1,449
Posted By rob171171
Thanks guys / gals Yes I'm running on...
Thanks guys / gals

Yes I'm running on Solaris and utilising nawk instead of awk does the trick
Thanks again
Showing results 1 to 25 of 89

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