LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   bash, command line ftp, and a delimma.. (https://www.linuxquestions.org/questions/linux-networking-3/bash-command-line-ftp-and-a-delimma-302861/)

scoob8000 03-17-2005 02:46 PM

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

-scoob8000

Matir 03-17-2005 03:38 PM

You could do something over NFS or SSH for sure....

scoob8000 03-18-2005 05:22 PM

NFS is pretty much out of the question since this is such a vanilla server.

What were your thoughts on SSH?

-scoob8000


All times are GMT -5. The time now is 10:19 PM.