Search Results

Search: Posts Made By: seenuvasan1985
5,700
Posted By seenuvasan1985
Tried it, landing with error. mem.sh: line 12:...
Tried it, landing with error.
mem.sh: line 12: [[: Current Memory Utilization is : 39.67%: syntax error in expression (error token is "Memory Utilization is : 39.67%")
5,700
Posted By seenuvasan1985
Servers are running with RHEL7.6 version.
Servers are running with RHEL7.6 version.
5,700
Posted By seenuvasan1985
High Memory threshold notification script
Hello Folks,
I have created the script which use to send email notification when server memory breach the threshold limits. Script works fine, but the issue is sometimes i am receiving mail alerts...
4,095
Posted By seenuvasan1985
Shell Script for Linux server decommission
Hi Folks,

I would like to create a script for linux server decommissioning which should collect the all configuration details and store in a file. Now the server configuration details are...
Forum: Red Hat 07-24-2015
6,853
Posted By seenuvasan1985
Hi agent.kgb, Thanks for your brief...
Hi agent.kgb,

Thanks for your brief explanation. :)
Forum: Red Hat 07-23-2015
6,853
Posted By seenuvasan1985
Thanks Don Cragun, Actually my question is...
Thanks Don Cragun,

Actually my question is why i am getting different output.

Uptime shows the server is running since 187days and who -b says the last reboot happened at 2014-08-10 (340 days)....
Forum: Red Hat 07-23-2015
6,853
Posted By seenuvasan1985
Difference between uptime and who -b
Hi Folks,

I have been checking on a redhat server for patching, when I tried the output for uptime and who -b both are not matching. I do not know the reason what happened and why it seems like...
881
Posted By seenuvasan1985
Thanks hergp, Great, it works well. could...
Thanks hergp,

Great, it works well. could you tell me why we use /dev/null to redirect the stderr.
881
Posted By seenuvasan1985
How to display only particular file location?
Hi Folks,

I tried to find a file from / directory and received big list of output like below.

$find / -name merge.txt
find: cannot read dir /var/sadm/pkg/SUNWcsmauth/save: Permission denied...
Forum: Solaris 09-11-2014
8,390
Posted By seenuvasan1985
As per this, I believe The total virtual...
As per this, I believe

The total virtual memory =
2015528k used + 14542512k available + 8GB physical memory Allocated disc swap space = total: 1774912k bytes allocated + 240616k reserved
So...
Forum: Solaris 09-11-2014
8,390
Posted By seenuvasan1985
Explain the output of swap -s and swap -l
Hi Solaris Folks :),

I need to calculate the swap usage on solaris server, please let me understand the output of below swap -s and swap -l commands.

$swap -s
total: 1774912k bytes allocated +...
3,505
Posted By seenuvasan1985
Oops, its not working on bash shell. df -h >...
Oops, its not working on bash shell.

df -h > df_and_errors.doc
grep -i "error" /var/adm/messages >> df_and_errors.doc

First df -h only works here.

Any suggestions why its not working on...
3,505
Posted By seenuvasan1985
Hi RudiC, I am doing same daily monitoring...
Hi RudiC,

I am doing same daily monitoring on 3 servers (solaris), created simple script to get this monitoring results by email also updated on cron job to receive this on daily basis.

Now i...
1,913
Posted By seenuvasan1985
How to merge two .doc files from different servers.?
Folks,

I would like to know how to merge two .doc files from different servers.

For example,

df -h > host1.doc --> from host1
df -h > host2.doc --> from host2

Now i want to merge these...
3,505
Posted By seenuvasan1985
Hi Ravinder, Yes, you are right. This simple...
Hi Ravinder,

Yes, you are right. This simple append command will merge the details in same server, i would like to know how to merge two .doc files from different servers.

For example,

df -h...
3,505
Posted By seenuvasan1985
How to merge the multiple data files as a single file?
Hi Experts,

I have created multiple scripts and send the output to new file, getting this output to my mailbox on daily basis.

I would like to send the all outputs to a single file, need to...
Forum: Solaris 09-07-2014
4,998
Posted By seenuvasan1985
Thanks guys, My issue is solved now. ...
Thanks guys,

My issue is solved now.

Regards,
Sri
Forum: Solaris 09-05-2014
5,803
Posted By seenuvasan1985
Oops... Just i saw your output of vfstab....
Oops...

Just i saw your output of vfstab. Seems very large one... tough to check manually everything.
Also its complicated to create script, only shell script experts can help you.

Regards,...
Forum: Solaris 09-05-2014
5,803
Posted By seenuvasan1985
Hi Venkat, Before restart your host, you can...
Hi Venkat,

Before restart your host, you can take backup of your mount point by using

#df > dfIt will store the all df data as a file in your home directory. You can verify it after reboot.
Forum: Solaris 09-05-2014
4,998
Posted By seenuvasan1985
Thanks for the confirmation. It will work, tee...
Thanks for the confirmation.
It will work, tee wont affect the cron, its working for last few days and receiving attached file by mail regularly.
For this date issue, i can answer tomorrow only, i...
Forum: Solaris 09-05-2014
4,998
Posted By seenuvasan1985
That's not an issue, or we can use > also. I...
That's not an issue, or we can use > also.

I need only the log file date should get update automatically without any manual interruption.
...
Forum: Solaris 09-05-2014
4,998
Posted By seenuvasan1985
Hi Ravinder, I have created a simple script...
Hi Ravinder,

I have created a simple script for find the error message from logs and added it on cron job file to get it by mail every 4hrs once.

That log file has time stamp, daily we will new...
Forum: Solaris 09-05-2014
4,998
Posted By seenuvasan1985
How to change the date automatically on script?
Hello Experts,

There is a log file which has date stamp, I just wanted to change the date automatically on daily basis when it runs.

Tried the below, but no luck.

grep -i error...
Forum: Solaris 09-03-2014
3,894
Posted By seenuvasan1985
grep -i "Aug 29"
Simply we can use the below one, it works well.
#cat /var/adm/messages | grep -i "Aug 29"

It will list only Aug 29th logs. :b::b:
Forum: Solaris 09-03-2014
3,894
Posted By seenuvasan1985
How to print the particular date logs on UNIX (Solaris)?
I would like to get only some particular date logs from /var/adm/messages. Please suggest any command or script to get this.
Showing results 1 to 25 of 26

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