LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-17-2005, 02:46 PM   #1
scoob8000
Member
 
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

-scoob8000
 
Old 03-17-2005, 03:38 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
You could do something over NFS or SSH for sure....
 
Old 03-18-2005, 05:22 PM   #3
scoob8000
Member
 
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?

-scoob8000
 
  


Reply


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 12:08 AM
what is different with Ftp From browser and Ftp from command line zahra79 Linux - Networking 2 06-22-2005 03:26 AM
bash shell command line expansion hansi umayangan Linux - General 2 03-13-2005 11:31 AM
bash command line smtp mail nutthick Programming 1 01-23-2005 02:23 PM
incorperate Bash as command-line in program GŠutama Programming 0 12-22-2003 05:14 AM


All times are GMT -5. The time now is 05:19 AM.

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