Sponsored Content
Top Forums Shell Programming and Scripting how to display date along with vmstat Post 302239753 by arunrao_oradba on Wednesday 24th of September 2008 11:11:02 AM
Old 09-24-2008
MySQL Thanks Genius Sir it works now

It works like a charm now,
thank you very much for helping.

Arun:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

PHP:display by date

Can php + MySQL display stuff out of table by its date.? e.g. In a table have id, date, title, details can php display the info three weeks before the date in the db? What fuction would i use? (3 Replies)
Discussion started by: perleo
3 Replies

2. Solaris

display date n Time

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. Shell Programming and Scripting

Date display

Hello, Is there any easy way to write a script to display the date for the previous day? I have a script which queries a sybase database, and pull the data for certain time period. I'd like to know how you can get the day for previous day, something like: date - 1! Thanks, Frank (2 Replies)
Discussion started by: FrankC
2 Replies

4. UNIX for Dummies Questions & Answers

vmstat output with date & timestamp

Hello all This is a sample vmstat output ... $ vmstat 2 2 kthr memory page disk faults cpu r b w swap free re mf pi po fr de sr hx hx hx hx in sy cs us sy id 1 0 0 23105784 7810488 323 767 1742 5 5 0 0 0 0 0 0 683 780 457 43 ... (9 Replies)
Discussion started by: luft
9 Replies

5. Shell Programming and Scripting

display filename with date

Hi buddies, I have a doubt. I want to display filename with date in the following format.Is there any way to do this. Kindly give me the solution. I want to display the result in the following manner. test1.txt 03/28/2008 testlog.log 02/20/2008 Please let me know one solution how to do... (1 Reply)
Discussion started by: pstanand
1 Replies

6. UNIX for Dummies Questions & Answers

Date Display Format

Hello People, How can I display the date in a continuous format along with the time as below : 20091001_154547 i.e yyyymmdd_hhmmss format. Thanks. (3 Replies)
Discussion started by: sushant172
3 Replies

7. UNIX for Dummies Questions & Answers

Date format Display Help

I have tried various arguments to get the date display as "Mar 10". I have tried date +"%c" -------> Wed Mar 10 11:51:21 EST 2010 date +"%b%d%Y_%H%M%S" --------> Mar102010_115121 date +"%b%d" -------> Mar10 date +"%t%b%e" ... (3 Replies)
Discussion started by: moveaix
3 Replies

8. UNIX for Dummies Questions & Answers

how to display date with filename??

Hi i am currently using below command in shell script and calling it from cron job. This is to take daily backup with the date as suffix to the file.When i try i unable to get the date suffixed to the backup file. Please help me as to wt's wrong in this or how to get the date added to the... (5 Replies)
Discussion started by: abhi_n123
5 Replies

9. Shell Programming and Scripting

How to display a date, 30 days from the current date?

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

10. HP-UX

[Solved] Need help in date display

Hi, I have one hp-ux sytem date display problem when viewed remotely hostA 21: date Fri Jul 5 11:18:51 SST 2013 hostA 22: remsh hostB -l username -n date 2013年07月05日 11時32分27秒 But on actual system it display correctly:confused: hostB 21: date Fri Jul 5 11:40:33 SST 2013 (4 Replies)
Discussion started by: jorendain
4 Replies
STRINGS(1)						    BSD General Commands Manual 						STRINGS(1)

NAME
strings -- print the strings of printable characters in files SYNOPSIS
strings [-a | --all] [-e encoding | --encoding=encoding] [-f | --print-file-name] [-h | --help] [-n number | --bytes=number | -number] [-o] [-t radix | --radix=radix] [-v | --version] [file ...] DESCRIPTION
For each file specified, the strings utility prints contiguous sequences of printable characters that are at least n characters long and are followed by an unprintable character. The default value of n is 4. By default, the strings utility only scans the initialized and loaded sections of ELF objects; for other file types, the entire file is scanned. The strings utility is mainly used for determining the contents of non-text files. If no file name is specified as an argument, standard input is read. The following options are available: -a | --all For ELF objects, scan the entire file for printable strings. -e encoding | --encoding=encoding Select the character encoding to be used while searching for strings. Valid values for argument encoding are: s for single 7-bit-byte characters (ASCII, ISO 8859). S for single 8-bit-byte characters. l for 16-bit little-endian. b for 16-bit big-endian. L for 32-bit little-endian. B for 32-bit big-endian. The default is to assume that characters are encoded using a single 7-bit byte. -f | --print-file-name Print the name of the file before each string. -h | --help Print a usage summary and exit. -n number | --bytes=number | -number Print the contiguous character sequence of at least number characters long, instead of the default of 4 characters. -o Equivalent to specifying -t o. -t radix | --radix=radix Print the offset from the start of the file before each string using the specified radix. Valid values for argument radix are: d for decimal o for octal x for hexadecimal -v | --version Display a version identifier and exit. EXIT STATUS
The strings utility exits 0 on success, and >0 if an error occurs. EXAMPLES
To display strings in /bin/ls use: $ strings /bin/ls To display strings in all sections of /bin/ln use: $ strings -a /bin/ln To display strings in all sections of /bin/cat prefixed with the filename and the offset within the file use: $ strings -a -f -t x /bin/cat SEE ALSO
ar(1), nm(1), objdump(1), ranlib, readelf(1), size(1) HISTORY
The first FreeBSD strings utility appeared in FreeBSD v3. It was later discontinued in FreeBSD v5, when i386-only a.out format was dropped in favor of ELF. AUTHORS
The strings utility was re-written by S.Sam Arun Raj <samarunraj@gmail.com>. This manual page was written by S.Sam Arun Raj <samarunraj@gmail.com>. BSD
December 19, 2011 BSD
All times are GMT -4. The time now is 05:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy