07-05-2013
Quote:
Originally Posted by
Don Cragun
It looks like the locale you're using on hostA is different from the locale remsh hostB is using.
Hi DC.
Both system have the same locale and env. However, base from your hint. I want to check what is my hostB charmap is using. is there a way to check it?
Thanks by the way!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. 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
3. Shell Programming and Scripting
Hi All,
I Have written a script through that i am calling sql file
Sqlfile.sql
set time on
set timing on
set echo on
set head off
set scan on
set feedback on
set serveroutput on
set linesize 1000
DECLARE
v_acc_no NUMBER(10);
v_product_no NUMBER(10);
BEGIN... (3 Replies)
Discussion started by: sujit_kashyap
3 Replies
4. Shell Programming and Scripting
i have a file with below contents
Mg_Message_count,1-Aug-12,46
Mg_Message_count,2-Aug-12,48
Mg_Message_count,3-Aug-12,48
Mg_Message_count,4-Aug-12,48
Mg_Message_count,5-Aug-12,48
Mg_Message_count,6-Aug-12,48
Mg_Message_count,7-Aug-12,42
Mg_Message_count,20-Aug-12,24... (10 Replies)
Discussion started by: rabindratech
10 Replies
5. Shell Programming and Scripting
Hello,
I have a file like this:
2012112920121130
12345620121130msABowwiqiq
34477420121129amABamauee
e7748420121130ehABeheheei
in case the content of the file has the date of yesterday within the lines containing pattern AB this should be replaced by the current date. But if I use... (3 Replies)
Discussion started by: Lilu_CK
3 Replies
6. Shell Programming and Scripting
Below is my Scenario.
I wrote one script to search the specific log files for Yesterdays date and gives the result.
I need a script like
1. Once I run the Script, The script should ask me which date I want to search.
2. Once i enter the date, That script should search the log files for... (3 Replies)
Discussion started by: Padmanabhan
3 Replies
7. UNIX for Dummies Questions & Answers
Hi Gurus,
I would like to get the date for the previous year based on the date I specify.
For e.g. If I input today's date (i.e. 20130422) I need to get 20120422.
We don't have GNU and use K Shell. Any help is highly appreciated.
Thanks
Shash (4 Replies)
Discussion started by: shash
4 Replies
8. Shell Programming and Scripting
Hi all,
I've searched through the forum and can't find a thread specific to this question:
I have a CSV file with a date column, the dates I'm given from the original file look like: "m/dd/yyyy" (UNLESS it's a double digit month, like October, where it would then show up as "mm/dd/yyyy"). Is... (8 Replies)
Discussion started by: mtucker6784
8 Replies
9. UNIX for Dummies Questions & Answers
I have a need to grep a large number of files, but only display the first result from each file. I have tried to use grep, but am not limited to it. I can use perl and awk as well. Please help! (9 Replies)
Discussion started by: dbiggied
9 Replies
10. UNIX for Dummies Questions & Answers
I have came across a few websites stating some custom actions for Thunar -
crunchbang
ubuntu
I tried inputting the stated commands to Thunar, but it doesn't display at all in mine.
I tried "gksu thunar %f" ( Opens current folder with root permissions.) , but when I right click in a... (0 Replies)
Discussion started by: Hijanoqu
0 Replies
LEARN ABOUT DEBIAN
tttprobe
tttprobe(1) net tttprobe(1)
NAME
tttprobe - Tele Traffic Tapper probe - A probe to collect local traffic-data and send it to a remote instance of tttview
SYNTAX
ttt [-interface device] [-interval ms] [-multicast] [-port dest_port] [-ttl time-to-live] [Destination]
DESCRIPTION
tttprobe is the probe program in the ttt program suite. tttprobe locally collects traffic-data and sends it over a network to an instance
of tttview.
To run tttview, it is not necessary to be "root".
The ttt program suite is yet another descendant of tcpdump but it is capable of real-time, graphical, local and remote traffic-monitoring.
It won't replace tcpdump, rather, it helps you find out what to look into with tcpdump.
OPTIONS
ttt [-interface device] [-interval ms] [-multicast] [-port dest_port] [-ttl time-to-live] [Destination]
-interface device
specifies the interface for packet capture. If not specified, the default interface is chosen.
-interval ms
Sets the interval in Milliseconds. If omitted, a interval of 1000 msec. is used as default.
-multicast
Shorthand for the default multicast destination "224.8.8.0".
-port dest_port
Specifies the udp port number on the remote host where the traffic-data should be sent to. If omitted, port 7288 is used as default.
-ttl time-to-live
Specifies the time-to-live for multicast. If omitted, 1 is used as default to restrict the multicast to the local subnet.
Destination
Specifies the remote host where the traffic-data should be sent to. Destination can be omitted only, if -multicast is specified.
Destination can be a uni- or multicast address.
EXAMPLES
Remark: "hostA" is allways the host where traffic-data is collected with tttprobe and "hostB" is allways the host where the traffic-data is
displayed with tttview.
point-to-point monitoring:
hostA: tttprobe hostB
hostB: tttview
or:
hostA: tttprobe ip_of_hostB
hostB: tttview
multicast:
when using the default multicast address:
hostA: tttprobe -multicast
hostB: tttview -multicast
this is equivalent to:
hostA: tttprobe 224.8.8.0
hostB: tttview -addr 224.8.8.0
AUTHORS
tttprobe was written by Kenjiro Cho < kjc@csl.sony.co.jp>.
This manual page was written by Thomas Scheffczyk <thomas.scheffczyk@verwaltung.uni-mainz.de>, for the Debian GNU/Linux system (but may be
used by others).
SEE ALSO
ttt(1), tttview(1)
Kenjiro Cho 1.7 tttprobe(1)