10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi All,
I have a strange issue and I am not sure where the problem lies.
I have about six Ubuntu servers on our DMZ two of which were built on 18.04 from scratch the others were upgraded to 18.04 from 16.04.
The servers built from scratch can send emails from the server via sendmail fine, so... (4 Replies)
Discussion started by: dakelly
4 Replies
2. Shell Programming and Scripting
Dear friend,
i have a script as below..
#!/bin/ksh
#set -vx
checkprocess () {
PROCESS_NUM=`ps -ef| grep test |wc -l`
# for degbuging...
if ;
then
# echo $PROCESS_NUM
echo "My job is started"
if ;
then
... (2 Replies)
Discussion started by: Jewel
2 Replies
3. Red Hat
Trying to find out the following strange subversion timestamping issue:
- Used $Id$ in my source file and resulted in the following output
Check date & time (issue 'date' command) on my local machine, it shows the following:
Also check date & time on my subversion server, the time is... (0 Replies)
Discussion started by: tanlccc
0 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I am new to unix programming. I am trying for a requirement and the requirement goes like this.....
I have a test folder. Which tracks log files. After certain time, the log file is getting overwritten by another file (randomly as the time interval is not periodic). I need to preserve... (2 Replies)
Discussion started by: mailsara
2 Replies
5. Shell Programming and Scripting
Hi,
I've a file in the following format
1999-APR-8 17:31:06 1500 3 45
1999-APR-8 17:31:15 1500 3 45
1999-APR-8 17:31:25 1500 3 45
1999-APR-8 17:31:30 1500 3 45
1999-APR-8 17:31:55 1500 3 45
1999-APR-8 17:32:06 1500 3 ... (1 Reply)
Discussion started by: vaibhavkorde
1 Replies
6. Shell Programming and Scripting
I have two log files of same name and structure which resides on different servers with ssh-keygen installed.
I want to search for a list of strings available in an array on last 15 minutes logs of both files and calculate the total count of occurence of each string.
Sample format of both file... (0 Replies)
Discussion started by: poweroflinux
0 Replies
7. Shell Programming and Scripting
Hello all,
I have a problem with timestamps in perl.
Suppose we have the following timestamp:
Wed Oct 22 13:20:41 2008 This timestamp is produced with 'localtime' function.
How can i convert the above timestamp to the format:
081022132041
08=2008
10=Oct
Thank you... (5 Replies)
Discussion started by: chriss_58
5 Replies
8. Shell Programming and Scripting
Hi,
I have 2 different log servers and logs are stored in both of them at varied times. Those servers have same files stored at different times. I want to retrieve the latest of the log files that are stored inthe servers. Say "file.log" is present on both servers, i want to check which of it is... (3 Replies)
Discussion started by: goutham4u
3 Replies
9. UNIX for Dummies Questions & Answers
I am looking for a tool that allows us to override the system date-timestamp on the Unix servers so that we can perform regression tests using the same set of scripts and data. CDS is an example of a system where the logic is very date/time dependent. It would make regression testing much easier... (5 Replies)
Discussion started by: DavidH
5 Replies
10. UNIX for Dummies Questions & Answers
Hi All ,
I have a file which gets updated by a korn job daily . The file gets the latest timestamp on everyrun.
But of late i have observed that the file timestamp gets modified to a older date ( Oct 25 2006 ) at some point in time of the day. This change has nothing to do with the job which... (2 Replies)
Discussion started by: siddaonline
2 Replies