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