10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am getting below error in the log file:
<<
01/05/13 23:30:02 Script Start
find: cannot access tu
File name :
01/05/13 23:30:03 no input file found
01/05/13 23:30:03 Script End
>>
Below is the part of shell script which runs once in a week.It tries... (3 Replies)
Discussion started by: Ank13
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
This is for some system audit - there are sulog files that recorded all su activities, we need to verify that all the user accounts in the log are supposed to have su capability. Is there some configuration file where all the user accounts with su access are listed? (similar to /etc/sudoers... (3 Replies)
Discussion started by: seafan
3 Replies
3. Shell Programming and Scripting
i have a script that scans a log file every 10 minutes. this script remembers the last line of the log and then uses it to continue monitoring the log when it runs again 10 minutes later.
the script searches the log for a string called MaxClients.
now, how can i make it so that when the... (7 Replies)
Discussion started by: SkySmart
7 Replies
4. Programming
Hello,
i'm trying to implement the times() function and i'm programming in C.
I'm using the "struct tms" structure which consists of the fields:
The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process.
The tms_stime structure... (1 Reply)
Discussion started by: g_p
1 Replies
5. UNIX for Dummies Questions & Answers
Hi everybody,
Fairly simple question here:
I need an awk, sed, or grep command that will find the same string multiple times on one line
needs to return all lines which contain .02 twice.
I do know the exact number of characters in between the two occurrences of .02 if that helps, all... (7 Replies)
Discussion started by: jgrosecl
7 Replies
6. Shell Programming and Scripting
All,
I have a test file as specified below. 1st col is <arrival time> and 2nd col is <Page #>. I want to find the inter-arrival time of requests for each page # (I've done this part already). Once I have this, I want to calculate the average interarrival time. Note, that I am trying to have the... (11 Replies)
Discussion started by: jontjioe
11 Replies
7. Programming
i am just checking the access times of files in C, but i am unsure about something
say i have a c program called acc.c (only file in directory)
then i compile it and get acc
then i ran acc and it tells me all the files in the current directory thats access time is only later than acc.c
for... (5 Replies)
Discussion started by: omega666
5 Replies
8. AIX
Is there such location or command to know how many times did you reboot your server in that particular day?in AIX. (3 Replies)
Discussion started by: kenshinhimura
3 Replies
9. Shell Programming and Scripting
Hi Folks !!!!!!!!!!!!!!!!!!!
My Requirement is.............
i have a input file:
501,501.chan
502,502.anand
503,503.biji
504,504.raja
505,505.chan
506,506.anand
507,507.chan
and my o/p should be
chan->3
i.e. the word which occurs maximum number of times in a file should be... (5 Replies)
Discussion started by: aajan
5 Replies
10. Shell Programming and Scripting
Hello,
I'm trying to figure out how to prevent this find command from accessing this diretories's subdirectories!
I tried the maxdepth and prune but they don't seem to work on SUN. So now i'm trying to set up a nawk command to not process any files that have "REVISED" in there name:
find... (3 Replies)
Discussion started by: bobk544
3 Replies