Re: Timestamp a command?
Mark Post wrote: On 9/23/2008 at 3:29 PM, in message [EMAIL PROTECTED], Edmund R. MacKenty [EMAIL PROTECTED] wrote: -snip- vmstat 10 86040 | while read line; do echo $(date) $line; done vmstat.out Or, if you just want a timestamp every so many lines of output (keeping in mind that the first line of each set will be the average since the last reboot): for ((i=1; i=i+1 ; i100)) do echo date vmstat 10 30 done vmstat.output Or date then report (date +%Y-%m-%d.%H%M;vmstat 10 86040 ) vmstat-$(date +%Y-%m-%d.%H%M).out Or mail it 1 vmstat 10 86040 | mail -s Report [EMAIL PROTECTED] The date's in the email. or mail it 2 (echo -e 'Subject: report\nTo: [EMAIL PROTECTED]: [EMAIL PROTECTED]';vmstat 10 86040 ) | sendmail -t That's all one line. Hopefully, I have apostrophes and parentheses in all the right places. The second example allows control over email headers. Be sure there's a blank line after the last header, but not before it. -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
AW: Timestamp a command?
I usually send the output to syslogd (and to a central loghost) - and there any message is getting its timestamp: vmstat 5 86400 | logger -p local0.info -t myvmstat This might be a good solution if you want the output on a central place anyway Regards, Jürgen Friedrichs -Ursprüngliche Nachricht- Von: Linux on 390 Port [mailto:[EMAIL PROTECTED] Im Auftrag von Tom Duerbusch Gesendet: Dienstag, 23. September 2008 21:22 An: LINUX-390@VM.MARIST.EDU Betreff: Timestamp a command? I would like an easy way to prefix the results of a command with the timestamp. The command: vmstat 10 8640 vmstat.out I start this up at 5 PM, so I can see if some process starts using the Linux system at night. Great results, but without a timestamp, I don't know what time, something start using the system. I could use Regina to do this, but I'm interested if there is a more native way (without Perl) to do this. Thanks Tom Duerbusch THD Consulting Law of Dinner Table Attendance Cats must attend all meals when anything good is served. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 smime.p7s Description: S/MIME cryptographic signature
Piping dd to tar/bzip/etc for in stream compression
Good day gang. I am looking to take dd disk images of some small disk volumes and compress the dd output in stream rather than after the fact. Is that possible? My experiments so far seem to indicate that it needs to be a two step process. I'd prefer that it be one step, but I've not succeeded in getting it to work with pipes. -J Disclaimer: Information in this message or an attachment may be government data and thereby subject to the Minnesota Government Data Practices Act, Minnesota Statutes, Chapter 13, may be subject to attorney-client or work product privilege, may be confidential, privileged, proprietary, or otherwise protected, and the unauthorized review, copying, retransmission, or other use or disclosure of the information is strictly prohibited. If you are not the intended recipient of this message, please immediately notify the sender of the transmission error and then promptly delete this message from your computer system. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
curiosity: pronouncing sudo
Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. -- Q: What do theoretical physicists drink beer from? A: Ein Stein. Maranatha! John McKown -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Piping dd to tar/bzip/etc for in stream compression
Hi, You could try this : dd if=/dev/dasdXX | gzip - ./backup.gz from the gzip manpage : If no files are specified, or if a file name is -, the standard input is compressed to the standard output. Regards, Dominic Coulombe On Wed, Sep 24, 2008 at 09:33, James Melin [EMAIL PROTECTED]wrote: Good day gang. I am looking to take dd disk images of some small disk volumes and compress the dd output in stream rather than after the fact. Is that possible? My experiments so far seem to indicate that it needs to be a two step process. I'd prefer that it be one step, but I've not succeeded in getting it to work with pipes. -J Disclaimer: Information in this message or an attachment may be government data and thereby subject to the Minnesota Government Data Practices Act, Minnesota Statutes, Chapter 13, may be subject to attorney-client or work product privilege, may be confidential, privileged, proprietary, or otherwise protected, and the unauthorized review, copying, retransmission, or other use or disclosure of the information is strictly prohibited. If you are not the intended recipient of this message, please immediately notify the sender of the transmission error and then promptly delete this message from your computer system. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
The latter. John McKown wrote: Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. -- Q: What do theoretical physicists drink beer from? A: Ein Stein. Maranatha! John McKown -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
Considering that sudo stands for super user do (or substitute user do), I agree it would definitely be the latter. -Sam -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich Smrcina Sent: Wednesday, September 24, 2008 10:09 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo The latter. John McKown wrote: Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. -- Q: What do theoretical physicists drink beer from? A: Ein Stein. Maranatha! John McKown -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
I'm not a Linux person, but the guys that pronounce it here that I talk to use the sue dough version. Kevin -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of John McKown Sent: Wednesday, September 24, 2008 9:45 AM To: LINUX-390@VM.MARIST.EDU Subject: curiosity: pronouncing sudo Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. -- Q: What do theoretical physicists drink beer from? A: Ein Stein. Maranatha! John McKown -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Piping dd to tar/bzip/etc for in stream compression
On 09/24/2008 09:33:29 AM, James Melin asked: I am looking to take dd disk images of some small disk volumes and compress the dd output in stream rather than after the fact. Is that possible? My experiments so far seem to indicate that it needs to be a two step process. I'd prefer that it be one step, but I've not succeeded in getting it to work with pipes. This works on x86 Linux, I don't have access to a zLinux to try it on: dd if=somefile | bzip2 -z compressedfile.bz2 Douglas Wooster -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
It is an interesting question. The fact o the matter is that Linux is named after Linus Torvalds. The predominant pronounciations of Linux are: 'LINE-ix' and 'LI-nucks', but the name Linus (in Helsinki at any rate) is pronounced 'LEE-noose'. So the 'correct' pronounciation of Linux should technically be 'LEE-nukes' I have heard both pronounciations and arguments for each. It is true that it stands for Substitute-User DO but it is also allowing a user to use a psuedonym (I realize this is something of a stretch) It is also worthwhile to note that the SU part comes directly from the utility sudo is intended to replace: su That command has been pronounced 'Es You' by everyody I have ever heard pronounce it, so perhaps it's 'Es You Do' though that also sounds an awful lot like Ef You Dude. Ultimately I think it's really more 'tuh-MAY-toe' vs. 'tuh-MAH-toe'. Erik Johnson On Wed, Sep 24, 2008 at 9:19 AM, Kielek, Samuel [EMAIL PROTECTED] wrote: Considering that sudo stands for super user do (or substitute user do), I agree it would definitely be the latter. -Sam -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich Smrcina Sent: Wednesday, September 24, 2008 10:09 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo The latter. John McKown wrote: Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. -- Q: What do theoretical physicists drink beer from? A: Ein Stein. Maranatha! John McKown -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
LOL, I have never seen so many pronunciations is so few words. K -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Erik N Johnson Sent: Wednesday, September 24, 2008 10:38 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo It is an interesting question. The fact o the matter is that Linux is named after Linus Torvalds. The predominant pronounciations of Linux are: 'LINE-ix' and 'LI-nucks', but the name Linus (in Helsinki at any rate) is pronounced 'LEE-noose'. So the 'correct' pronounciation of Linux should technically be 'LEE-nukes' I have heard both pronounciations and arguments for each. It is true that it stands for Substitute-User DO but it is also allowing a user to use a psuedonym (I realize this is something of a stretch) It is also worthwhile to note that the SU part comes directly from the utility sudo is intended to replace: su That command has been pronounced 'Es You' by everyody I have ever heard pronounce it, so perhaps it's 'Es You Do' though that also sounds an awful lot like Ef You Dude. Ultimately I think it's really more 'tuh-MAY-toe' vs. 'tuh-MAH-toe'. Erik Johnson On Wed, Sep 24, 2008 at 9:19 AM, Kielek, Samuel [EMAIL PROTECTED] wrote: Considering that sudo stands for super user do (or substitute user do), I agree it would definitely be the latter. -Sam -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich Smrcina Sent: Wednesday, September 24, 2008 10:09 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo The latter. John McKown wrote: Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. -- Q: What do theoretical physicists drink beer from? A: Ein Stein. Maranatha! John McKown -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
On 09/24/2008 10:37:33 AM, Erik N Johnson wrote: It is an interesting question. The fact o the matter is that Linux is named after Linus Torvalds. The predominant pronounciations of Linux are: 'LINE-ix' and 'LI-nucks', but the name Linus (in Helsinki at any rate) is pronounced 'LEE-noose'. So the 'correct' pronounciation of Linux should technically be 'LEE-nukes' I have heard both pronounciations and arguments for each. It is true that it stands for Substitute-User DO but it is also allowing a user to use a psuedonym (I realize this is something of a stretch) It is also worthwhile to note that the SU part comes directly from the utility sudo is intended to replace: su That command has been pronounced 'Es You' by everyody I have ever heard pronounce it, so perhaps it's 'Es You Do' though that also sounds an awful lot like Ef You Dude. Ultimately I think it's really more 'tuh-MAY-toe' vs. 'tuh-MAH-toe'. Well put. I have a Russian friend whom I think says 'LEE-nukes'. But that raises another question: if you find an icon of an upraised finger, in computer documentation, are you supposed to type 'sudo' ? :) Just so now you can say you've 'heard' everything: my team pronounces 'su root' as sue to ruut. :) Douglas Wooster (Who contemplates using 'sue dough' to access privileged 'tuh-MAY-toes') Erik Johnson On Wed, Sep 24, 2008 at 9:19 AM, Kielek, Samuel [EMAIL PROTECTED] wrote: Considering that sudo stands for super user do (or substitute user do), I agree it would definitely be the latter. -Sam -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich Smrcina Sent: Wednesday, September 24, 2008 10:09 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo The latter. John McKown wrote: Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
Ultimately I think it's really more 'tuh-MAY-toe' vs. 'tuh-MAH-toe'. Oh, let's call the whole thing off...8-) --d b -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
Yeah, but was your Russian friend really meaning Lee NUKES? LOL K -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Wooster Sent: Wednesday, September 24, 2008 11:07 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo On 09/24/2008 10:37:33 AM, Erik N Johnson wrote: It is an interesting question. The fact o the matter is that Linux is named after Linus Torvalds. The predominant pronounciations of Linux are: 'LINE-ix' and 'LI-nucks', but the name Linus (in Helsinki at any rate) is pronounced 'LEE-noose'. So the 'correct' pronounciation of Linux should technically be 'LEE-nukes' I have heard both pronounciations and arguments for each. It is true that it stands for Substitute-User DO but it is also allowing a user to use a psuedonym (I realize this is something of a stretch) It is also worthwhile to note that the SU part comes directly from the utility sudo is intended to replace: su That command has been pronounced 'Es You' by everyody I have ever heard pronounce it, so perhaps it's 'Es You Do' though that also sounds an awful lot like Ef You Dude. Ultimately I think it's really more 'tuh-MAY-toe' vs. 'tuh-MAH-toe'. Well put. I have a Russian friend whom I think says 'LEE-nukes'. But that raises another question: if you find an icon of an upraised finger, in computer documentation, are you supposed to type 'sudo' ? :) Just so now you can say you've 'heard' everything: my team pronounces 'su root' as sue to ruut. :) Douglas Wooster (Who contemplates using 'sue dough' to access privileged 'tuh-MAY-toes') Erik Johnson On Wed, Sep 24, 2008 at 9:19 AM, Kielek, Samuel [EMAIL PROTECTED] wrote: Considering that sudo stands for super user do (or substitute user do), I agree it would definitely be the latter. -Sam -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich Smrcina Sent: Wednesday, September 24, 2008 10:09 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo The latter. John McKown wrote: Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
On Wed, 2008-09-24 at 09:37 -0500, Erik N Johnson wrote: So the 'correct' pronounciation of Linux should technically be 'LEE-nukes' From the Man himself: http://www.jx90.com/linux.html -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
On 09/24/2008 11:15:42 AM, Evans, Kevin R asked: Yeah, but was your Russian friend really meaning Lee NUKES? Not unless he was planning to take shameless advantage of the guy -- he said things like use LEE-nukes. :) Hm. Maybe I should ask the pres. of the Rexx Language Association ( http://www.rexxla.org ) if he feels used -- his name is Lee. Douglas LOL K -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Wooster Sent: Wednesday, September 24, 2008 11:07 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo On 09/24/2008 10:37:33 AM, Erik N Johnson wrote: It is an interesting question. The fact o the matter is that Linux is named after Linus Torvalds. The predominant pronounciations of Linux are: 'LINE-ix' and 'LI-nucks', but the name Linus (in Helsinki at any rate) is pronounced 'LEE-noose'. So the 'correct' pronounciation of Linux should technically be 'LEE-nukes' I have heard both pronounciations and arguments for each. It is true that it stands for Substitute-User DO but it is also allowing a user to use a psuedonym (I realize this is something of a stretch) It is also worthwhile to note that the SU part comes directly from the utility sudo is intended to replace: su That command has been pronounced 'Es You' by everyody I have ever heard pronounce it, so perhaps it's 'Es You Do' though that also sounds an awful lot like Ef You Dude. Ultimately I think it's really more 'tuh-MAY-toe' vs. 'tuh-MAH-toe'. Well put. I have a Russian friend whom I think says 'LEE-nukes'. But that raises another question: if you find an icon of an upraised finger, in computer documentation, are you supposed to type 'sudo' ? :) Just so now you can say you've 'heard' everything: my team pronounces 'su root' as sue to ruut. :) Douglas Wooster (Who contemplates using 'sue dough' to access privileged 'tuh-MAY-toes') Erik Johnson On Wed, Sep 24, 2008 at 9:19 AM, Kielek, Samuel [EMAIL PROTECTED] wrote: Considering that sudo stands for super user do (or substitute user do), I agree it would definitely be the latter. -Sam -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich Smrcina Sent: Wednesday, September 24, 2008 10:09 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo The latter. John McKown wrote: Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
Damn, Lockheed's firewall systems are getting ridiculous in the sites that they ban us from going to, including this one. K -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of David Andrews Sent: Wednesday, September 24, 2008 11:21 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo On Wed, 2008-09-24 at 09:37 -0500, Erik N Johnson wrote: So the 'correct' pronounciation of Linux should technically be 'LEE-nukes' From the Man himself: http://www.jx90.com/linux.html -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Piping dd to tar/bzip/etc for in stream compression
Douglas Wooster wrote: On 09/24/2008 09:33:29 AM, James Melin asked: I am looking to take dd disk images of some small disk volumes and compress the dd output in stream rather than after the fact. Is that possible? My experiments so far seem to indicate that it needs to be a two step process. I'd prefer that it be one step, but I've not succeeded in getting it to work with pipes. This works on x86 Linux, I don't have access to a zLinux to try it on: dd if=somefile | bzip2 -z compressedfile.bz2 It is likely to use lots of CPU on a Zed, it does on Intellish hardware. You haven't said what you want to do with the compressed copy: if you want to clone a disk to another system through a network, this is possible: dd if=/dev/dasda | ssh example.com dd of=/dev/dasda One can also do individual partitions (but do test it in case there's something I've missed). Depending on network and CPU performance and costs, you might want to compress, you might not. With Intellish h/w on 100 Mbit ethernet, I do not compress. dd if=/dev/dasdb \ | gzip -1 \ | ssh example.com gzip -dc \ | dd of=/dev/dasdb I think bzip compresses more, gzip compresses faster. Probably, to send over a network you don't want the absolute most compression (and hence the -1). You might want to use bs= to send larger blocks, and if you have buffer (it's in debian) you can use it to keep the pipes full by overlapping disk and network I/O. Note, one can use tar similarly. Tar is best when you want to change filesystems or filesystem structure, dd when you don't. Both may require some extra fiddling. Have I bored you yet? -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
-Original Message- From: Linux on 390 Port On Behalf Of Evans, Kevin R Damn, Lockheed's firewall systems are getting ridiculous in the sites that they ban us from going to, including this one. Your net nanny must be similar to ours. E.g., we can go to Dilbert, but not Doonesbury; more than half the Google hits for Sarbanes Oxley or SOX are blocked for political content or opinion; etc., etc. ad nauseum. It frequently seems to be just arbitrary and capricious as to what it allows or prohibits. -jc- -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
John McKown wrote: Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. I've always used the former, and in this country it does not sound a lot like pseudo. I think if you listen closely, you might hear me pronouces the eand the u in pseudo. However, I learned from reading, not from listening (and if I were listening to an American I'd take no notice of how she pronounced it. I find Americans don't generally pronounce words the way we do, and most likely not the same way as other Americans either!). -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
Douglas Wooster wrote: Well put. I have a Russian friend whom I think says 'LEE-nukes'. Given recent developments in Georgia and other places, I'd steer clear of him:-) -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
hsi0 and SuSE
Whats up with SuSE SP2 Sles10 and the necessity to add hsi0 to the group in order to make it work. YAST configures it but does not add to this directory. I guess this is directed to Mark Post or anyone who can provide me with a valid reason. One must issue echo 0.0.f506,0.0.f507,0.0.f508 /sys/bus/ccwgroup/drivers/qeth/group 'Where ever you go - There you are!! ' Richard (Gaz) Gasiorowski Global Solutions Technology Principal Lead Infrastructure Architect CSC 3170 Fairview Park Dr., Falls Church, VA 22042 845-773-9243 Work|845-392-7889 Cell|[EMAIL PROTECTED]|www.csc.com This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
On 09/24/2008 11:15:42 AM, Evans, Kevin R asked: Yeah, but was your Russian friend really meaning Lee NUKES? Not unless he was planning to take shameless advantage of the guy -- he said things like use LEE-nukes. :) Hm. Maybe I should ask the pres. of the Rexx Language Association ( http://www.rexxla.org ) if he feels used -- his name is Lee. Or whether he knows that the Mandarin word li means the mandate of heaven... 8-) -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
Erik N Johnson wrote: It is an interesting question. The fact o the matter is that Linux is named after Linus Torvalds. The predominant pronounciations of Linux are: 'LINE-ix' and 'LI-nucks', but the name Linus (in Helsinki at any rate) is pronounced 'LEE-noose'. So the 'correct' pronounciation of Linux should technically be 'LEE-nukes' Iff you're a Fin. The point I take from his explanation (it was used for a while as a sound bite for testing RHs sound setup) is that Linux should sound fairly like Linus. I have heard both pronounciations and arguments for each. It is true that it stands for Substitute-User DO but it is also allowing a user to use a psuedonym (I realize this is something of a stretch) It is also worthwhile to note that the SU part comes directly from the utility sudo is intended to replace: su That command has been pronounced 'Es You' by everyody I have ever heard pronounce it, so perhaps it's 'Es You Do' though that also sounds an awful lot like Ef You Dude. Ultimately I think it's really more 'tuh-MAY-toe' vs. 'tuh-MAH-toe'. Some of you will have heard of CICS? Here, in .au, it's generally pronounced Kicks. -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Server slowdown
I have a sles10 server running tomcat 6.0.9 and java 1.6. It has been running slow all week. My nagios server shows the number of TCP connections as follows: Connections: 1573 CLOSING=1 TIME_WAIT=809 CLOSE_WAIT=177 SYN_SENT=52 SYN_RECV=52 FIN_WAIT=17 LAST_ACK=20 ESTABLISHED=435 LISTEN=10 Connections: 2114 CLOSING=1 TIME_WAIT=1343 CLOSE_WAIT=78 SYN_SENT=178 SYN_RECV=53 FIN_WAIT=5 LAST_ACK=6 ESTABLISHED=440 LISTEN=10 Could the slowdown be caused by the high number of time_waits ? Is there another way to troubleshoot this problem ? Any tuning parameters I should be using ? Thanks. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
Some of you will have heard of CICS? Here, in .au, it's generally pronounced Kicks. Well if it was pronounced the other some people would confuse it with vi... Alan -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
Certainly NOT the way us Brits do! LOL K -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of John Summerfield Sent: Wednesday, September 24, 2008 12:07 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo John McKown wrote: Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. I've always used the former, and in this country it does not sound a lot like pseudo. I think if you listen closely, you might hear me pronouces the eand the u in pseudo. However, I learned from reading, not from listening (and if I were listening to an American I'd take no notice of how she pronounced it. I find Americans don't generally pronounce words the way we do, and most likely not the same way as other Americans either!). -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
When they first implemented this thing (whatever it is), I couldn't even get to the CICS Wiki or the C/Trek websites. Typical overkill. K -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Chase, John Sent: Wednesday, September 24, 2008 12:02 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: curiosity: pronouncing sudo -Original Message- From: Linux on 390 Port On Behalf Of Evans, Kevin R Damn, Lockheed's firewall systems are getting ridiculous in the sites that they ban us from going to, including this one. Your net nanny must be similar to ours. E.g., we can go to Dilbert, but not Doonesbury; more than half the Google hits for Sarbanes Oxley or SOX are blocked for political content or opinion; etc., etc. ad nauseum. It frequently seems to be just arbitrary and capricious as to what it allows or prohibits. -jc- -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
NFS - z/OS and Linux
TNG here, so please bear with me. I am in need of additional information regarding an NFS mount between z/OS and Linux (RHEL). I understand the how-to. It is more of the underlying process that I am curious about. Particularly, if once mounted (zOS being server, and Linux being client) and writing/copying file directly to mounted directory, is there translation going on (I assume yes). and also, are the file attributes (record length, blocksize, etc) required/preserved when going to/from? Basically, what I am trying to do is share data between z/OS and Linux. I have found the other thread zLinux access to z/OS DASDhttp://www.mail-archive.com/linux-390@vm.marist.edu/msg47939.html and appears that final recommendation is to go with NFS mount, but need to know the above information. I apologize if I've mixed any concepts. Thanks for any information. Patrick -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: NFS - z/OS and Linux
If this helps, here is how I have mine mounted: From our RHEL server named ldxzvm03 in /etc/fstab: hiper-cpur:/hfs/u/abcdef,binary/sftp/abcdef/center3 nfs rw,hard,intr 0 0 hiper-cpur is the Hipersocket IP of a z/OS LPAR. On the z/OS side, we have the following defined in the NFS export file: /hfs/u/abcdef -access=hiper-ldxzvm03 hiper-ldxzvm03 being the Hipersocket IP of our Linux guest. Any translation would be specified in the mount commands (man mount on the Linux side) or in the servers NFS attributes file. In our case we are pushing things across in binary mode. Some of the z/OS side NFS server attributes you might want to look at are: # translate related text/binary CR, CRLF, LF, LFCR, or NOEOL. blankstrip xlat(member) cln_ccsid(819) srv_ccsid(1047) # for files created via NFS recfm(vb), blksize(0), lrecl(8196) dsorg(ps) space(100,10), blks norlse dir(27) So the answer is it depends on if/how you mount the client and configure the server as to whether data is automatically translated. We have some MVS data sets mounted out to AIX that we translate automatically. One thing we ran into there was when we converted some of our AIX files to Unicode. NFS can't tranlsate a multi-byte character set down to a single-byte character set, so beware of the code pages. Or, make the NFS mount binary and translate it once you get to the other side with something outside of NFS. We do both ways. z/OS NFS manual: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CPN1CO60/CONTENTS?SHELF=CPN1BS60DT=20080710133848 __ Tom Stewart Infrastructure Analyst John Deere - z/OS Support Services em: [EMAIL PROTECTED] __ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Leigh Sent: Wednesday, September 24, 2008 12:59 PM To: LINUX-390@VM.MARIST.EDU Subject: NFS - z/OS and Linux TNG here, so please bear with me. I am in need of additional information regarding an NFS mount between z/OS and Linux (RHEL). I understand the how-to. It is more of the underlying process that I am curious about. Particularly, if once mounted (zOS being server, and Linux being client) and writing/copying file directly to mounted directory, is there translation going on (I assume yes). and also, are the file attributes (record length, blocksize, etc) required/preserved when going to/from? Basically, what I am trying to do is share data between z/OS and Linux. I have found the other thread zLinux access to z/OS DASDhttp://www.mail-archive.com/linux-390@vm.marist.edu/msg47939.html and appears that final recommendation is to go with NFS mount, but need to know the above information. I apologize if I've mixed any concepts. Thanks for any information. Patrick -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: hsi0 and SuSE
On 9/24/2008 at 12:00 PM, in message [EMAIL PROTECTED], Richard Gasiorowski [EMAIL PROTECTED] wrote: Whats up with SuSE SP2 Sles10 and the necessity to add hsi0 to the group in order to make it work. YAST configures it but does not add to this directory. When you used YaST to configure it, did you put the chanids into the field provided? E.g., 0.0.0900 0.0.0901 0.0.0902 I believe there is a bug somewhere in the SP2 version of YaST, since this field used to be pre-popluated for you. I also don't believe it's specific to HiperSocket interfaces. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Server slowdown
On 9/24/2008 at 1:11 PM, in message [EMAIL PROTECTED], Levy, Alan [EMAIL PROTECTED] wrote: -snip- Could the slowdown be caused by the high number of time_waits ? I doubt it. Is there another way to troubleshoot this problem ? A decent performance monitor? If you have one, what does it tell you? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: curiosity: pronouncing sudo
I pronounce it sue dough, but then, I also pronounce SQL as squeal, not sequel. My pronunciation for GDDM, G*dd*mn, never caught on, either. Dennis O'Brien We are Borg of America. You will be assimilated. Resistance is futile. -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of John McKown Sent: Wednesday, September 24, 2008 06:45 To: LINUX-390@VM.MARIST.EDU Subject: curiosity: pronouncing sudo Is it sue dough (like pseudo) or sue do? I always did the latter, but people around here seem to like the first. And I get confused (as usual) as to whether they mean sudo or pseudo. -- Q: What do theoretical physicists drink beer from? A: Ein Stein. Maranatha! John McKown -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: hsi0 and SuSE
No the Chandids were there correctly - in fact that appears to be an issue. Why should the behavior of hsi be any different then OSA? You do not see 3 addresses for OSA. Do you agree this a SUSE bug? 'Where ever you go - There you are!! ' Richard (Gaz) Gasiorowski Global Solutions Technology Principal Lead Infrastructure Architect CSC 3170 Fairview Park Dr., Falls Church, VA 22042 845-773-9243 Work|845-392-7889 Cell|[EMAIL PROTECTED]|www.csc.com This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. Mark Post [EMAIL PROTECTED] Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU 09/24/2008 03:30 PM Please respond to Linux on 390 Port LINUX-390@VM.MARIST.EDU To LINUX-390@VM.MARIST.EDU cc Subject Re: hsi0 and SuSE On 9/24/2008 at 12:00 PM, in message [EMAIL PROTECTED], Richard Gasiorowski [EMAIL PROTECTED] wrote: Whats up with SuSE SP2 Sles10 and the necessity to add hsi0 to the group in order to make it work. YAST configures it but does not add to this directory. When you used YaST to configure it, did you put the chanids into the field provided? E.g., 0.0.0900 0.0.0901 0.0.0902 I believe there is a bug somewhere in the SP2 version of YaST, since this field used to be pre-popluated for you. I also don't believe it's specific to HiperSocket interfaces. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: hsi0 and SuSE
On 9/24/2008 at 3:44 PM, in message [EMAIL PROTECTED], Richard Gasiorowski [EMAIL PROTECTED] wrote: No the Chandids were there correctly - in fact that appears to be an issue. Why should the behavior of hsi be any different then OSA? You do not see 3 addresses for OSA. Do you agree this a SUSE bug? I'm not sure, since I don't experience the same problem you do. In my case, putting in the chanids (space separated) makes things work. Leaving it blank, or using commas to separate them makes things fail. So, from my perspective, the bug is in the field not being pre-populated by YaST. Comparing the contents of the resulting file in /etc/sysconfig/hardware/hwcfg-qeth-ccw-??? against a working one would be useful. In any case, there is a bug in there somewhere. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Piping dd to tar/bzip/etc for in stream compression
I am looking to take dd disk images of some small disk volumes and compres= s the dd output in stream rather than after the fact. Is that possible? My experiments so far seem to indicate that it needs to be a two step process.= I'd prefer that it be one step, but I've not succeeded in getting it to work with pipes. With most systems you don't need dd for disks, just for tapes. For unix I/O to tapes it is one read/write per tape block, so dd is often used to reblock data. tar will write block of a specified size, but most other programs don't. tar cf - . | dd of=/dev/tape obs=32k tar cf - . | gzip | dd of=/dev/tape obs=32k to compress a raw disk to a disk file, dd if=/dev/disk ibs=32k | gzip outfile but I think you can also just do gzip /dev/disk outfile You only need dd if you need reblocking, either as input or output. If you want to write the result to tape, gzip /dev/disk | dd of=/dev/tape obs=32k or dd if=/dev/disk ibs=32k | gzip | dd of=/dev/tape obs=32k Disk I/O is normally buffered by the system automatically, but it may be faster and/or more efficient to use a large block size with dd. dd without an if will read stdin, without of will write stdout. gzip without any parameters will compress stdin and write stdout. -- glen -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390