9 More Discussions You Might Find Interesting
1. Solaris
Hi,
I want to change time format to AM/PM format. In below output -
-bash-3.2# date
Thu Jul 27 16:48:59 PDT 2017
-bash-3.2#
I want to be it 4:48:59 PM. NTP is configured on this. Can time format be changed while NTP server is configured ?
Thanks (3 Replies)
Discussion started by: solaris_1977
3 Replies
2. Shell Programming and Scripting
Hello folks,
I am looking for a Perl module or a program logic that gives the startdate and enddate of the last week..
Suppose say, assuming this week starts from Sunday to Saturday
If I execute the script in this week. I need to get the last week sunday's date.
Could anyone please... (1 Reply)
Discussion started by: scriptscript
1 Replies
3. Shell Programming and Scripting
Need assistance . Below code gives me the date but I wanted output as day of the week (wday) .
Code:
use Time::Local;
my $time=timelocal(1,2,3,9,11,2013);
$theTime = localtime($time);
print "$theTime\n";
Result:
Mon Dec 9 03:02:01 2013
Wanted output as only Mon (2 Replies)
Discussion started by: ajayram_arya
2 Replies
4. Shell Programming and Scripting
I have to increase the date by one week in an input when script is executed in solaris. I was able to acheive this using ksh script that is working in Linux enivironment, when i execute the same script in Solaris i am getting below error:
/var/tmp\n\r-> ./script.ksh
date: illegal option -- d... (3 Replies)
Discussion started by: sriramanaramoju
3 Replies
5. Solaris
Looking for something equivalent to what im able to do with Linux:
date -d 20120523 +%a
Wed
Is there a Solaris equivalent? (5 Replies)
Discussion started by: chihova
5 Replies
6. Solaris
Hi all,
We're been having issues with quite a few Solaris 10 VMs hanging after about a week of uptime. These VMs are running on VMware ESXi 4.1 U1 hosts and the issue does not occur on any specific host. We also running CentOS VMs and are not experiencing any issues with those VMs. The VMs that... (5 Replies)
Discussion started by: derekivey
5 Replies
7. Shell Programming and Scripting
Hello,
basically I'm looking after a way of showing how many time is left to the end the day, week, month...
I can't seem to figure this out, so could one of you skilled guys tell me how should this be approached?
Examples:
Time left:
Day: 12h 12m 11s
Week: 4d 12h 12m 11s
Month:... (4 Replies)
Discussion started by: TehOne
4 Replies
8. Shell Programming and Scripting
Hello all,
I want to display all the user logged last week and know the time tnat they are connected. I have been looking for a solution in the Forum, but I didn't find.
Thanks in advance (4 Replies)
Discussion started by: ahernandez
4 Replies
9. Solaris
Hi friends,
In our cluster some time difference is there. User told me to change into IST time. How can i change the time in a cluster 3.0.
please help me.
thanks to all (1 Reply)
Discussion started by: sijocg
1 Replies