Search Results

Search: Posts Made By: Varja
81,621
Posted By Varja
Today I am using on that specific line , instead...
Today I am using on that specific line , instead of whole script executing. But this line making me to think , if for some reason that FS is not mounted during patching then I am missing that...
81,621
Posted By Varja
This helped. Thank you .
This helped. Thank you .
81,621
Posted By Varja
How to ignore No such file or directory on the output?
Hello -
I have a script which looks for filesystem usage and its a common script for all servers I have . On few servers, we do not have a FS available and getting the output as No such file or...
6,608
Posted By Varja
@Rudic , Thank u for the details. For me the...
@Rudic , Thank u for the details.

For me the last command worked fine. And wondering , can i assign the o/p to two different variables?
that way I can send to an array and list all of them .
6,608
Posted By Varja
Find Memory and activity from command output
Hello -
I have a requirement to get the Memory(Xmx) and the activity name using it.

Sample input info :

1502 02:57 /bin/sh /opt/rather/bar/deploy/bar_run.sh
1545 02:57 java...
3,553
Posted By Varja
Hello Robin , Thanks for sharing the idea....
Hello Robin ,

Thanks for sharing the idea. I had this Idea and using it , but what I am not sure is

1. consider I have a logging script as you mentioned , which will have logic to post to a...
4,772
Posted By Varja
Top 5 cpu and Mem consuming process and files and suggestion for health check
I am middle of writing health check scripts, can you pls share commands on how I can get cpu and Mem of top consuming process info at the moment?

Also can u suggest ideas on what all I can look...
3,553
Posted By Varja
Idea to make a function as microservice
Hello -

I wrote few scripts on bash shell script and grafana triggers those scripts and show on console .

I want to write the console output to a log file as well by using tee command and I...
4,633
Posted By Varja
my apologies. I will edit to make it more clear. ...
my apologies. I will edit to make it more clear.

--- Post updated at 11:08 PM ---


sorry, not sure If I got you right , I was referring to the script I am (still) working on on the whole...
4,633
Posted By Varja
Run a script before and after reboot automatically and send output to two locations.
Hello Team .

I am working a health check script ( bash) to run on linux server ( RedHat) and requirements are
1. The o/p of script need to be send to two diff files . I am testing with tee...
1,559
Posted By Varja
I was doing some trail and error and found the...
I was doing some trail and error and found the mistake and came here to mention , but I see @Scrutinizer responded. Thank you !
1,559
Posted By Varja
If condition on shell not working , not sure what is the mistake I am doing?
I have a requirement to perform specific set of tasks based on server , So I want to have the condition(s) defined based on server. Here is the script I came up with and I have read multiple blogs...
Showing results 1 to 12 of 12

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