05-10-2013
Display Date and Time in GDB
In gdb is there any way we can display date/time in first column while debugging or is there any command which will print date/time?
I am asking this just to know when exactly a breakpoint got hit.
Last edited by rupeshkp728; 05-10-2013 at 06:51 AM..
Reason: spelling mistale
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was wondering if anyone had a script that would display the last time a user logged into a particular machine. I know about the "last" command, but it gives too much info.... I just wanted to know the last time a user used his/her id. ANy help would be greatly appreciated.
Ryan (3 Replies)
Discussion started by: ryaneverett5
3 Replies
2. Solaris
Hi Friends,
Can any one guide me regarding 'Display the date and time' command other than the command 'date'
thanks n regards
SsRrIi (1 Reply)
Discussion started by: SsRrIi
1 Replies
3. AIX
Hi,
In unix the command "date +%s" displays the date-time in seconds since â00:00:00 1970-01-01 UTCâ (a GNU extension)
when executed on unix:
-sh-2.05b$ date +%s
1152092690
I tried with all the format control output but unable to display the date-time in seconds i,e as in unix format. Can... (6 Replies)
Discussion started by: me_haroon
6 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I am unable to display the code in gdb. When i put list command i dont get any line. I mean i am unable to display the source line in gdb.
Can any body help me.
Thanks & Regards
Gauri (4 Replies)
Discussion started by: gauri
4 Replies
5. Shell Programming and Scripting
hi all,
am trying to 'grep' some text from a log file and use the 'cut' command to read from that line i just grep'ed to extract date/time and response times.
code sniplet i am using is :
grep -i 'text to grep' Out.log |
while read LINE;
do
... (11 Replies)
Discussion started by: cesarNZ
11 Replies
6. Programming
Hi,
On using GDB debugger on different executables, the address displayed for the symbols seem incorrect, as it shows me the same address in each prorgram, run simultaneoulsy.
eg:
Program: linkmain1.c
Breakpoint 1, main () at linkmain1.c:14
14 printf("In linkmain1.c\n");
(gdb)... (0 Replies)
Discussion started by: karthikb23
0 Replies
7. UNIX for Dummies Questions & Answers
I found via Google a way to show the date and time stamp once I log in. However, whenever I cd to another directory it doesn't display the correct path.
Here are the relevant parts from my .kshrc :
unset _h _m _s
eval $(date "+_h=%H ;_m=%M ;_s=%S")
((SECONDS =... (3 Replies)
Discussion started by: Mike F.
3 Replies
8. Shell Programming and Scripting
Well guys,
I know the right syntax for displaying the current date is $(date). However, I am planning to send emails to some customers which displays their subscription date, and then the expiry. The expiry being 30 days from the current date.
What would the right syntax be? (6 Replies)
Discussion started by: xxxx
6 Replies
9. Shell Programming and Scripting
Hi , I have BASH system & i am trying to display the files created on a particular date and time, and after displaying those files I also want to delete all those files.Can anyone of you help me out for this.............
Thanx
Original post contents restored...
Please do not erase the question... (3 Replies)
Discussion started by: rakeshtomar82
3 Replies
10. Solaris
I have a cluster of two Solaris server (veritas cluster). one working and the other is standby
I am going to change the date on them , and am looking for a secure solution as it is giving an important service.
my opinion is that the active one doesn't need to be restarted (if I don't change the... (1 Reply)
Discussion started by: barry1946
1 Replies
LEARN ABOUT DEBIAN
nwfstime
NWFSTIME(1) nwfstime NWFSTIME(1)
NAME
nwfstime - Display / Set a NetWare server's date and time
SYNOPSIS
nwfstime [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] [ -s ]
DESCRIPTION
nwfstime displays a NetWare server's date and time. You can also set a NetWare server's date and time from the local time.
OPTIONS
-h
With -h nwfstime prints a little help text.
-S server
is the name of the server you want to use.
-U user
user is the user name to use for login. To set the server's time, you need supervisor privileges.
-P password
password is the password to use for login. If neither -n nor -P are given, and the user has no open connection to the server, nwfstime
prompts for a password.
-n
-n should be given if no password is required for the login. As you need supervisor privileges for setting the date and time, this
option is probably not used very often.
-C
By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off
this conversion by -C.
-s
With -s, nwfstime sets the file server's date and time according to the local date and time.
nwfstime 12/10/1996 NWFSTIME(1)