Search Results

Search: Posts Made By: anand2308
3,058
Posted By anand2308
Yes, it is taking this file on manual as well as...
Yes, it is taking this file on manual as well as in crontab.
I am also confused why this is happening
Is this something related to some virtual memory ??
3,058
Posted By anand2308
Hi fpmurphy, The OS & Version: SunOS...
Hi fpmurphy,

The OS & Version:

SunOS dcr1a 5.10 Generic_144489-06 i86pc i386 i86pc
3,058
Posted By anand2308
Script taking more time in CRONTAB
Hello All,

I have created a shell script, When i run it manually as ./<script_name> it takes 5 hours to run, but when i am scheduling it in crontab, it is taking 20 hours to run.

Please help me...
2,773
Posted By anand2308
Solaris Time Problem
Hi all,

I am printing yesterday date in solaris using command: TZ=GMT+24 date +%b_%d_%Ybut at 01:00 AM on jan 11, it is printing: Anyone please explain.
2,786
Posted By anand2308
Thank You Robin, I Will Check With The Number Of...
Thank You Robin, I Will Check With The Number Of Processors and Also The Commands You Have Given.
Thank You :b:
2,786
Posted By anand2308
Conflicts in the output of TOP command
Hi All,

In the output of TOP command in my unix system, i monitored that some process has utilization more than 100% even some process has 4000% utilisation.
Please help me understand how it is...
28,087
Posted By anand2308
Thank You ningy and itkamaraj, It worked :b:
Thank You ningy and itkamaraj, It worked :b:
28,087
Posted By anand2308
Day before yesterday's date
Hello All,

I am writing a script in Sun Solaris
I want the date for "day before yesterday", i got the yesterday's date by this command TZ=GMT+24 date +%b" "%d.
Please suggest me some code to get...
2,559
Posted By anand2308
Thank You All I also got an option cat...
Thank You All
I also got an option
cat filename | grep -m1 "Configuration flow done"
It also worked
2,559
Posted By anand2308
Thanks Guys :b:
Thanks Guys :b:
2,559
Posted By anand2308
Finding a string in a file
Hello All,

I have a text file, i want to search for a string in it and the string is repeated multiple times in a file i want to get the first occurence of the string in a variable.

the content...
9,164
Posted By anand2308
str1 and str2 will have some strings then i will...
str1 and str2 will have some strings then i will extract the time value from them and subtract the time to get the time taken by a number to change its value from str1 to str2.

but my main...
9,164
Posted By anand2308
input file contain 40K records and cCONFLOG...
input file contain 40K records and cCONFLOG contain 65lacs record
I have written a part of code, after getting str1 and str2 i am taking the average of time mentioned in column1 of these strings...
9,164
Posted By anand2308
Using awk instead of while loop to read file
Hello,

I have a huge file, I am currently using while loop to read and do some calculation on it, but it is taking a lot of time.
I want to use AWK to read and do those calculations.
Please...
39,948
Posted By anand2308
Script to subtract time stored in a variable
Hello,

I am writing a script to find time difference between two timestamp stored in a variable.

i have two variable
t1=11:48:30
t2=13:13:48
how i can find the difference i.e t2-t1 in...
4,028
Posted By anand2308
Creating a GUI with GTKDialog
Hello All,

I just came across an article, through which we can create GUI menus in unix.
Which is far more better than Zenity.
Please find the link below:...
10,002
Posted By anand2308
Thank you pamu and elixir_sinari, Pamu your...
Thank you pamu and elixir_sinari,

Pamu your code worked,
Thanks a lot :b:
10,002
Posted By anand2308
Shell Script to Enter a Directory (Folder Name Contains Spaces)
I am writing a shell script to cd to a folder.
folder name is "October Scripts"
I am currently storing the name of folder in a shell variable as so path="October\ Scripts/".
If I do cd $path I...
Showing results 1 to 18 of 18

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