Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-17-2005, 03:46 PM   #1
Registered: Jun 2003
Distribution: Redhat 8, Redhat 9, Win2k, WinXP
Posts: 64

Rep: Reputation: 15
bash, command line ftp, and a delimma..

So I'm trying to track running processes on a vanilla linux box with no hard drive.

What I've got so far is a small bash script that grabs my numbers, does a few calculations on them, saves them to a text file and uses lftp to put them on my machine running mrtg.

Now the problem here is this server has a flash card for a hard drive, so I don't want to write this text file every 5 minutes to it.

Can anyone think of a way to pipe the output of my script to lftp (or similar) without ever writing it locally to the servers filesystem?

Putting a ramdrive on the machine or just running mrtg on the machine are out of the question.. :P

Old 03-17-2005, 04:38 PM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
You could do something over NFS or SSH for sure....
Old 03-18-2005, 06:22 PM   #3
Registered: Jun 2003
Distribution: Redhat 8, Redhat 9, Win2k, WinXP
Posts: 64

Original Poster
Rep: Reputation: 15
NFS is pretty much out of the question since this is such a vanilla server.

What were your thoughts on SSH?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash Script, no new line for echo command jorisb Linux - General 5 11-05-2005 01:08 AM
what is different with Ftp From browser and Ftp from command line zahra79 Linux - Networking 2 06-22-2005 04:26 AM
bash shell command line expansion hansi umayangan Linux - General 2 03-13-2005 12:31 PM
bash command line smtp mail nutthick Programming 1 01-23-2005 03:23 PM
incorperate Bash as command-line in program GŠutama Programming 0 12-22-2003 06:14 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration