Search Results

Search: Posts Made By: Ymir
1,126
Posted By Ymir
Thank you guys. i found a script and i just...
Thank you guys.
i found a script and i just customized it.
sorry for taking your time.
1,126
Posted By Ymir
Log rotator
Hello guys.
i have couple of log files which i need to rotate them . so i need a script to run every 30 minutes in the server and rotate the log files if they size pass the 100MB.
would you please...
3,909
Posted By Ymir
yes exactly. i expected 12 cores. ...
yes exactly. i expected 12 cores.
unfortunately these command dosnt work:
cat /sys/devices/system/cpu/online
cat /sys/devices/system/cpu/offline
here is the output:
cat...
3,909
Posted By Ymir
Linux Command To Find the System Configuration And Hardware Information
Hello guys.
I wanted to find the System Configuration and Hardware Information on one of my servers. Here is part of the cpu info:

CPU core info:
processor : 0
vendor_id :...
1,213
Posted By Ymir
Hello Ymir, Could you please try following...
Hello Ymir,

Could you please try following and let me know if this helps.

date -d"20140206" +%A", "%B", "%d", "%Y
Output will be as follows.

Thursday, February, 06, 2014
NOTE: I am using...
1,213
Posted By Ymir
Show the string in date format
Hello guys.
how can print the: 20140206
like Fri, Feb 6, 2015
Thank you.
1,346
Posted By Ymir
thank you so much dear RudiC. you really are a...
thank you so much dear RudiC.
you really are a lifesaver. did you know that? :)
1,346
Posted By Ymir
Date in awk command
Hello guys. i have problem to execute the:
DT=$(date +"%Y%m%d");
command in awk script. i wrote this script:
#bin/bash
BEGIN{
FS="[_-]"
DT=$(date +"%Y%m%d");
FullBackupValue=0;
...
2,467
Posted By Ymir
thank you. result: -bash: syntax error near...
thank you.
result:
-bash: syntax error near unexpected token `('
2,467
Posted By Ymir
ye exactly. i don't want to send any date...
ye exactly.
i don't want to send any date parameters. just a simple yes or no is enough for now.
the script store in my zenoss server and run via ssh(with pki and without password authentication.)...
2,467
Posted By Ymir
Ok. let me explain what exactly i want. I'm...
Ok. let me explain what exactly i want.
I'm using zenoss to monitor my servers. in the zenoss i cant handle the plain text. i just can use the numerical values. now i want create an alert to warn me...
2,467
Posted By Ymir
Thank you dear Singh. but your command doesn't...
Thank you dear Singh.
but your command doesn't work.


dear Don . i use the ssh to get the directory info. so i had to run and put it in a variable.
i use your shell command and it work but not...
2,467
Posted By Ymir
thank you dear RudiC. i use your command and...
thank you dear RudiC.
i use your command and make this script but it wouldn't work.
whould you please take a look at it and tell me where i did wrong?
output=$(ls -l $1)
"output" | awk '-F"_"...
2,467
Posted By Ymir
Than you dear Don. as always your post was so...
Than you dear Don. as always your post was so helpful.
now i should put the [ll -hrt] result into the output.
am i right?
2,467
Posted By Ymir
thank you dear Don. I'm using red hat. but i...
thank you dear Don.
I'm using red hat. but i don't know what kind of shell I'm using!!
my time zone is: IRST.
date output is: Sun Feb 1 10:08:39 IRST 2015
thank you.
2,467
Posted By Ymir
Extract directory name
Hello guys.
i have several backup servers which i have to monitor them daily.
now i want an script to use the backup directory and put it in output variable.
my backup files look like this:
[ll...
888
Posted By Ymir
Thank you dear RudiC. as always your commands...
Thank you dear RudiC. as always your commands worked perfect.
but i really need to do it with upper cases and in my own format.
so would you please help me to correct my code?
Thank you.
888
Posted By Ymir
Customize the Shell Script output
Hello guys.
about two weeks ago i had a question about customizing output and thanks to you guys i could solve it.
now i have a similar question but this time its little complex.
this is my...
2,127
Posted By Ymir
Than you so much. honestly i didn't think this...
Than you so much.
honestly i didn't think this can be done!!
this is one of the best forums I ever seen for help and response.

Thank you again.
2,127
Posted By Ymir
Thank you dear RudiC. would you lease explain...
Thank you dear RudiC.
would you lease explain little bit your code?
the output has a little problem but it worked.
i want to try split the command and fix the problem. i use this one but it didnt...
2,127
Posted By Ymir
Thank you so much dear Don, Rudic and Scurit. ...
Thank you so much dear Don, Rudic and Scurit.
let me explain my problem again:
i want to execute this command and then customize the output.
output=$(su - oracle...
2,127
Posted By Ymir
Customize the Shell Script output
Hello guys.
i wan to write an script to Customize this output:

-------------------+--------------------+---------+---------
ias-component | process-type | pid | status...
Showing results 1 to 22 of 22

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