Re: VT100 FreeBSD spreadsheet with data manipulation connections
On 7/4/09, Bill Campbell free...@celestial.com wrote: On Fri, Jul 03, 2009, Kelly Jones wrote: I'm looking for a command-line (VT100) FreeBSD spreadsheet that has data manipulation connections. One that I have used off and on for years is ``sc''. It's simple, and stores data in fairly simple ascii files. Does sc have 'hooks' that let it read cell values from other applications and/or run commands when a cell value is updated? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
VT100 FreeBSD spreadsheet with data manipulation connections
I'm looking for a command-line (VT100) FreeBSD spreadsheet that has data manipulation connections. That is: other applications can edit the spreadsheet (via some API), and the spreadsheet can run commands when cells are edited. My goal: create a VT100 spreadsheet-like interface to sqlite3 (and maybe other dbs). -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Using ctorrent or other program to seed a torrent
Thanks to everyone who helped. A couple of clarifications: % I'm not trying to share a file I downloaded. This is a file I created from scratch. % I don't want to seed for just 12 hours. I want to seed for days, maybe even weeks or months. % I don't necessarily want to run a tracker. I'm happy to use a public tracker like thepiratebay.org. I just want to seed the file. Is ctorrent the wrong program for this? Is there a better program to seed torrents? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. On 6/28/09, Kelly Jones kelly.terry.jo...@gmail.com wrote: I know how to use ctorrent to create a torrent file, but how do I actually seed the resulting file so that others can get it, and how do I 'register' myself w/ a tracker so that others will know what IP address to connect to, etc? Can ctorrent seed torrents, or do I need another program for that? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Using ctorrent or other program to seed a torrent
I know how to use ctorrent to create a torrent file, but how do I actually seed the resulting file so that others can get it, and how do I 'register' myself w/ a tracker so that others will know what IP address to connect to, etc? Can ctorrent seed torrents, or do I need another program for that? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Need a filesystem with unlimited inodes
On 6/8/09, Kelly Jones kelly.terry.jo...@gmail.com wrote: What UFS-like filesystem has unlimited inodes, but is a drop-in replacement for ext3, and is fairly easy to configure? Thanks to everyone who replied. I'm using 100+ rented cloud servers to do stuff for me and rsync the results back to a server I own. I'm sure I could use a db or zip file somehow, but my goal is to get the data centralized ASAP, since I'm paying per hour for the rented cloud servers. DBs and ZIP files would take more time. Once I have the data on my server, I can take as much time as I want. My problem: I ran out of inodes during the rsync process, and had to re-do some of the work, wasting some of my cloud servers time/money. I ended up settling on zfs. It hung hard once (had to reboot the server), which scares me, but it otherwise behaves very well. With compress=gzip-9, it's even saving me disk space. Yes, I realize cloud computing is cheap (and I'm actually still on a free trial), but I value efficiency. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Need a filesystem with unlimited inodes
What UFS-like filesystem has unlimited inodes, but is a drop-in replacement for ext3, and is fairly easy to configure? Is UFS2 no longer considered the best general-use filesystem? Reason I ask: I'm going to create many small (~1K) files on a 100G disk and thus need at least 100M inodes. newfs -i maxes out at ~52M inodes (862 groups * 60864 inodes =~ 52M inodes): # newfs -N -i 1 /dev/da1;: same results as -i 2048 /dev/da1: 102400.0MB (209715200 sectors) block size 16384, fragment size 2048 using 862 cylinder groups of 118.88MB, 7608 blks, 60864 inodes. I realize I can use f 512 -b 4096 to get 200M+ inodes, but I'm willing to experiment w/ a new filesystem, provided it behaves mostly like UFS. Thoughts? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Waiting for a process to die
How do I wait for a specific process to die? I want to do something like: waitpid 1234(echo done! | Mail -s PROC DONE kelly.terry.jo...@gmail.com) I'm sure this is trivial, but I can't find a way to do it. I wrote a Perl script that checks every second if /proc/pid exists, but that only works if /proc is mounted + I'm now on VMs which can't easily mount /proc -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Customize .vacation.msg to include subject, sender, etc?
I'm using 'vacation' as an autoresponder, but can't seem to customize .vacation.msg to include the subject, sender, recipient, etc. Is there a way to do this? If not, is there a better autoresponder I can use? I realize I could write one myself, but I'd prefer to use an existing solution. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Customize .vacation.msg to include subject, sender, etc?
Woops, that's not quite what I meant, sorry. I meant something like: From: some...@somewhere Subject: Re: {subject of message you sent} Dear {email address of person who sent message}, You recently sent an email to {to address of messages}... and so on. I realize the to address is often fixed, but I'm doing this in virtusertable/aliases as: @foo.com autoreply autoreply: |/usr/bin/vacation ... so the to address might be a...@foo.com for one message, x...@foo.com for another message, etc. In other words, a true autoresponder. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. On 5/29/09, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: I'm using 'vacation' as an autoresponder, but can't seem to customize .vacation.msg to include the subject, sender, recipient, etc. Is there a way to do this? yes. example .vacation.msg: From: some...@somewhere Subject: Out of Office I am out of office until i will be back. Best regards Someone ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Setting up a cloud space server
I have a lot of disk space on one of my remote dedicated FreeBSD servers, and I'd like to resell it as cloud space. Is there a program that does something like this? Specifically: % Makes the disk space available through standard cloud protocols % Calculates how much space/bandwidth each user uses etc? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Formatted text conversion
I have e-books in several formats (DOC, LIT, PDF, RTF, HTML, TXT, etc). Is there a Unix command-line tool that converts between these formats? If not, is there at least a tool that converts these formats to TXT? My goal is to read these books on my Kindle, even if it means losing some formatting/bells/whistles. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
VM server sharing (OT)
Has anyone setup a VM server sharing arrangement, whereby I run some of their vmdk files on my VM server, and they run some of my vmdk files on their VM server? VM servers are great, but if the whole server (or its network) goes down, there's no redundancy. VM server sharing would allow people to clone their production servers w/ network/geographic diversity. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Better version of ispell?
Is there a version/improvment of ispell that: % Lets you exclude certain sections of a file from spellchecking? Example: I often email sendmail logs with their random-character queue ids. I don't want ispell to check those cut/pasted logs. % Lets you declare correctly-spelled words as being incorrect? % Example: I often misspell the word cron as corn; ispell obviously doesn't catch this. I rarely use the word corn. I want to remove corn from the dictionary w/o actually tweaking /usr/dict/words or whatever ispell uses. I know you can *add* words (using %$HOME/.ispell_english for example), but what spellchecker lets you *remove* them as well? I know about aspell, but think it suffers from the same limitations (in fact, ti may be the same program?) I posted a similar query to aspell-u...@gnu.org earlier, but got no reply, so I thought I'd try this list instead. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. [for absolute pedants: yes, I misspelled improvement incorrectly up there!] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Using rsync for versioned backups without --backup
I want to use rsync to backup a large file (say 1G) that changes a little each day (say 1M), but I also want the ability to re-create older versions of this file. I could use --backup, but that would create a 1G file each day, even though I only really need the 1M that's changed. How do I tell rsync: while updating, also store the changes you'd need to convert today's backup into yesterday's backup? I realize I could use diff or something, but since rsync has to calculate minimal changes anyway, it'd be nice to store them. I thought the --itemize-changes option might do this, but no. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
What do ASCII codes 128-159 stand for?
man ascii defines the ASCII codes from 0-127, and the various ISO-8859-x tables define the ASCII codes from 160-255 (depending on your character set), but are there standard representations for the ASCII codes between 128 and 159 inclusive? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Secure unsalted or fixed salt symmetric encryption?
Are there any secure openssl symmetric encryption routines that *don't* use a salt? Is it secure to use a random-but-fixed salt (openssl enc -S salt)? man enc says This option [-salt] should ALWAYS be used [...] Reason I ask: I was using this command to backup files using compression/encryption: bzip2 -k -c original | openssl enc -bf -pass file:passfile encfile and was surprised that doing this to identical files yielded different results. I then realized openssl enc randomly(?) chooses a salt if you don't supply one. I want my backups encrypted, but I also want identical files to encrypt identically. Thoughts? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ps says process has been running for 49710 days
I use /bin/ps -www -ax -eo 'pid etime args' to see how long a process has been running. This usually works fine, but I sometimes see things like: 17469 49710-06:28:15 /usr/bin/fly -q -i [...] indicating a process has been running for 49710+ days. I originally thought that was the time from the Unix epoch, but it's actually near 13 Dec 1901. I can easily workaround this, but was curious if anyone knew more about it? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Blowfish encryption key length
I want to use a random Blowfish key to encrypt files, so I did this: dd if=/dev/random of=mykey.bf count=100 bs=100 to create a 10K byte mykey.bf file. I can now encrypt foo.txt by doing: openssl enc -bf -pass file:mykey.bf -in foo.txt foo.txt.encrypted However, man enc says Blowfish and RC5 algorithms use a 128 bit key. Does this mean mykey.bf could've been just 16 bytes (128 bits) long? Or am I misunderstanding the word key here? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Backing up FreeBSD and other Unix systems securely
I tried using Mozy for backups because they offer unlimited space, but 1) they don't support FreeBSD, 2) they encrypt file contents, but NOT file names, and 3) they don't do true versioned backups. Easy workaround for 1): rsync to a Mac/Windows and backup from there, but 2) and 3) are more difficult. My plan: % Use dd if=/dev/random of=mykey to create a random blowfish key % Blowfish encrypt mykey with a passphrase only I know. Backup the encrypted blowfish key to a remote host. % Keep track of when I last ran the backup program (touch /some/path/timestamp at start of run) and only backup files that've been modified more recently (find / -newer /some/path/timestamp). % To backup foo.txt, first bzip2 it and encrypt w/ my blowfish key. % Then, take the sha1 hash of the bzip'd/encrypted file, and backup foo.txt to remotehost:/some/path/{sha1 hash}. % To avoid too many files in one dir, I may backup b0d0a7da15d5eb94ac76ac4fd81fe6d4fa8e4593 to remotehost:/some/path/b0/d0/a7/b0d0a7da15d5eb94ac76ac4fd81fe6d4fa8e4593 for example. % In an SQLite3 db, record the filename I'm backing up, its timestamp, and its bzip'd/encrypted hash. Store an encrypted copy of the db on the remote server. I like this plan because it does versioned backups, and doesn't backup identical files twice. I dislike it because I lose Mozy's unlimited disk space. Questions: % Does this plan seem secure and reasonable? % Will backing up the 0-byte file this way make it easy to guess my blowfish key? % Is there software that already does this? % Can this plan be improved? % Does anyone offer unlimited space for Unix backups? (safesnaps.com) % Any general thoughts/comments on this plan? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Windows mailing lists?
This question is OT by definition: are there any Windows mailing lists similar to this one? Ideally one for people who hate Windows, but have to deal w/ it (eg, Windows command-line and Cygwin users, not people who use it by choice). I know Cygwin has mailing lists, but it's not quite the same thing. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Better version of diff?
I often need to compare two Perl files sans comments. This mostly works: egrep -v '^#' file1.pl file1.tmp egrep -v '^#' file2.pl file2.tmp diff -B file1.tmp file2.tmp (yes, it breaks for perldoc style comments, comments on lines w/ code, # characters inside HERE docs, and probably other cases-- just an approximation) I also often need to see if two files contain the same lines, minus comments and allow duplicates. This mostly works: egrep -v '^#' file1.txt | sort | uniq file1.tmp egrep -v '^#' file2.txt | sort | uniq file2.tmp diff -B file1.tmp file2.tmp;: comm would also work here I could easily Perl script these two tasks, but my question is: has anyone created a super diff that does this sort of thing and more? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
qmail.sh is broken symlink
I just installed qmail on my FreeBSD box out of /usr/ports/mail/qmail, and noticed this: # ls -l /usr/local/etc/rc.d/qmail.sh lrwxr-xr-x 1 root wheel 13 May 15 18:43 /usr/local/etc/rc.d/qmail.sh@ - /va\ r/qmail/rc # ls -l /var/mail/rc ls: /var/mail/rc: No such file or directory I read somewhere that this is actually *supposed* to happen + that I should copy something in /var/qmail/boot to /var/qmail/rc My question is: what? There are lots of files in there: # ls -l /var/qmail/boot/ total 24 -r-xr-xr-x 1 root wheel 483 May 15 18:43 binm1* -r-xr-xr-x 1 root wheel 567 May 15 18:43 binm1+df* -r-xr-xr-x 1 root wheel 452 May 15 18:43 binm2* -r-xr-xr-x 1 root wheel 536 May 15 18:43 binm2+df* -r-xr-xr-x 1 root wheel 450 May 15 18:43 binm3* -r-xr-xr-x 1 root wheel 534 May 15 18:43 binm3+df* -r-xr-xr-x 1 root wheel 340 May 15 18:43 home* -r-xr-xr-x 1 root wheel 428 May 15 18:43 home+df* -r-xr-xr-x 1 root wheel 347 May 15 18:43 maildir* -r-xr-xr-x 1 root wheel 359 May 15 18:43 proc* -r-xr-xr-x 1 root wheel 445 May 15 18:43 proc+df* -r-xr-xr-x 1 root wheel 1511 May 15 18:43 qmail-smtpd.rcNG* -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Emailing 100+ PDFs, one at a time, to a given address
I need to email 100s of PDFs, 1 per email, to a given address. What's the easiest way to do this? /usr/bin/Mail won't work, since PDFs are binary, so I must first BASE64 encode them. I could write a Perl script to BASE64 encode them and MIME-wrap them, but is there an existing tool for this? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Reading warnings when installing multiple ports
I often use make -DBATCH install to install ports. Problem: many ports spew out a warning/todo message after you install them (eg, you must manually create an x user or something). Since ports install recursively, I miss most of these messages. Can I tell ports to store these messages for me somewhere? Obviously, I can make -DBATCH install /tmp/outfile, but that'll log all the install, test, etc commands that I don't want to see: I just want to see the warnings at the end of each install. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
bzip2split
Can I split a large (4G+) bzip2 file into smaller bzip2 files? Notes: % Obviously, 'split' won't work for 2 reasons: % Each chunk won't have the BZIP2 header % 'split' will cut the file inside a bzip2 block, rendering the first/last blocks of each file unreadable. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Publishing information via DNS
Has anyone tried publishing non-DNS information via DNS? Advantages: % Automatic distributed caching on various nameservers. % UDP, so no TCP overhead I know SPF uses this, and clamav publishes their current version number this way, but has anyone done this on a large scale basis? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Publishing information via DNS
On 12/17/08, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Kelly Jones wrote: Has anyone tried publishing non-DNS information via DNS? Advantages: % Automatic distributed caching on various nameservers. % UDP, so no TCP overhead I know SPF uses this, and clamav publishes their current version number this way, but has anyone done this on a large scale basis? Read all about 'Hesiod' at a search engine near you. No, not the Greek poet... the other hesiod. Hesiod is interesting, but the Wikipedia article suggests its used for small local networks. I'm thinking of globally DNS-casting data. Kent, CT11 9PW Does your city change into Metropolis when there's danger? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Basic Tulip questions
I just installed Tulip on my FreeBSD server. The server has X11 installed, but isn't running it. I asked the questions below to the Tulip list ([EMAIL PROTECTED]) earlier, but got no reply, so I was hoping someone here was familiar w/ it and could help me. Does Tulip have a command-line mode? Can Tulip recognize graphviz-generated graph files such as those attached? I couldn't find a way to load these into Tulip? My experience has been w/ graphviz, and my goal is to create planar graphs from various data sources. Graphviz does this, but the resulting graphs tend to (ironically) have both overlapping nodes (boxes too close to each other) AND excessive space between nodes (the graphs could be a lot more compact). In some cases, graphviz creates unnecessarily huge (eg, 32768x32768) GIF files for fairly simple graphs. I'm hoping Tulip will automatically draw fairly nice graphs + have options that let me make them look even nicer, ideally from the command-line. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. by-balloon-sahara.dot Description: Binary data digraph x { edge [fontsize=10,fontcolor=red,arrowhead=open]; node [shape=polygon,fontsize=10,fontcolor=blue]; large_brass_bed [label=large brass bed\n(sheets, pillow)]; large_brass_bed - bedroom [label=get up]; bedroom [label= bedroom\n(window, bed)]; bedroom - ledge_outside_window [label=go window]; ledge_outside_window [label=ledge outside window\n(flag pole)]; ledge_outside_window - bedroom [label=go window]; bedroom [label=bedroom]; bedroom - hall [label=n]; hall [label=hall]; hall - bathroom [label=n]; bathroom [label=bathroom\n(mirror, watch, toilet)]; bathroom - hall [label=s]; hall [label=hall]; hall - outside_castle [label=e]; outside_castle [label=outside castle\n(coat-of-arms, bell pull)]; outside_castle - meandering_path [label=e]; meandering_path [label=meandering path\n(castle, fence/gate, crowd)]; meandering_path - GAME_END [label=go gate]; GAME_END [label=GAME END]; hall [label=hall]; hall - kitchen [label=w]; kitchen [label=kitchen\n(oven, DW)]; kitchen - DW_kitchen [label=go dumb]; DW_kitchen [label=DW (kitchen)]; DW_kitchen - DW_pantry [label=raise dumbwaiter]; DW_pantry [label=DW (pantry)]; DW_pantry - pantry [label=go room]; pantry [label=pantry\n(matches, garlic, DW)]; DW_kitchen [label=DW (kitchen)]; DW_kitchen - DW_workroom [label=lower dumbwaiter]; DW_workroom [label=DW (workroom)]; DW_workroom - workroom [label=go room]; workroom [label=workroom\n(door, mallet, DW, vent, memo)]; workroom - dungeon [label=d]; dungeon [label=dungeon\n(pit, iron rings)]; dungeon - pit [label=go pit]; pit [label=pit\n(torch)]; workroom [label=workroom]; workroom - closet [label=go door]; closet [label=closet\n(vial, dust, no-doz)]; closet - workroom [label=w]; workroom [label=workroom]; kitchen [label=kitchen]; kitchen - giant_solar_oven [label=go oven]; giant_solar_oven [label=giant solar oven\n(nail file, lens)]; giant_solar_oven - kitchen [label=w]; kitchen [label=kitchen]; ledge_outside_window [label=ledge outside window]; ledge_outside_window - hanging_on_sheet [label=climb sheet]; hanging_on_sheet [label=hanging on sheet]; hanging_on_sheet - flower_box [label= go window]; flower_box [label=flower box\n(daisies)]; flower_box - doorless_room [label=go window]; doorless_room [label=doorless room\n(portrait, window)]; doorless_room - flower_box [label= go window]; flower_box [label= flower box]; flower_box - hanging_on_sheet [label= climb sheet]; hanging_on_sheet [label= hanging on sheet]; hanging_on_sheet - ledge_outside_window [label= climb sheet]; ledge_outside_window [label= ledge outside window]; doorless_room [label=doorless room]; doorless_room - dark_passage [label=go passage]; dark_passage [label=dark passage]; dark_passage - crypt [label=n]; crypt [label=crypt\n(cigarettes, vent, sign, coffin)]; crypt - large_coffin [label= go coffin]; large_coffin [label=large coffin\n(slide bolt)]; large_coffin - crypt [label=u]; crypt [label=crypt]; crypt - dark_passage [label=s]; dark_passage [label=dark passage]; dark_passage - doorless_room [label=s]; doorless_room [label=doorless room]; } ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sniffit requires config file?
Whenever I use sniffit on a new machine, I have to create this conf file: select both mhosts 0 select both mhosts 1 select both mhosts 2 select both mhosts 3 select both mhosts 4 select both mhosts 5 select both mhosts 6 select both mhosts 7 select both mhosts 8 select both mhosts 9 Not a huge deal, but can I make sniffit sniff all packets w/o a conf file? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unix domain socket tunnel to TCP on other machine
For mimedefang/clamav purposes, I'm trying to setup a Unix domain socket that tunnels to a TCP port on another machine. For example, if I telnet -u /var/spool/mysock on machine X, I want it to be just like doing telnet Y 25. I've poked around with stunnel and ssh's port forwarding/ControlMaster stuff, but I can't quite get this working. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unix program that sends email directly using MX record
What Unix program sends email directly, using the MX record of the recipient, instead of using sendmail or an installed MTA? I realize I could tweak sendmail.cf/etc to do this, but that's not working in my (fairly unusual) special situation. I also realize that sending email directly is normally bad, but I'm testing something. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sudo multiple commands at once without shell script
How do I run multiple sudo commands at once? This fails because the semicolon ends the whole sudo command: sudo whoami; whoami root user This confuses tcsh: monica:~ sudo ( whoami ; whoami ) Badly placed ()'s. I could obviously write a shell script or something or do: sudo whoami; sudo whoami but is there a better way? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can tcsh report 'command had no output'?
Can I force tcsh to say previous command returned empty stdout or something? I often cut and paste shell output for my cow-orkers, and it's crucial to note when a command returns nothing. Currently, I insert the information manually: ls | fgrep 'phrase' [no results] but it'd be nice if tcsh had a setting to do this automatically? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newsyslog naming scheme could be improved?
newsyslog rotates logfiles so that messages.0.gz is yesterday's file, messages.1.gz is the day before's, etc. This is ugly. If I tell my fellow sysadmins that I ran this command: zfgrep 'bad thing' /var/log/messages.4.gz and found stuff, they may run it the next day and get different results because the file is now messages.5.gz Improving my cow-orkers intelligence would be the ideal solution, but has anyone considered tweaking newsyslog to name files messages.2008-10-05-12-00-00.gz or something. IE, give them a constant name that doesn't change and then delete them after how many ever days? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installing multiple ports quietly and efficiently
Here's one way to install multiple FreeBSD ports unattended on a machine: cd /usr/port/foo/prog1; make install; cd/usr/ports/foo/prog2; make install and so on (perhaps even in a shell script). Two problems: % It's ugly. I'd prefer cd /usr/ports; make foo/prog1 foo/prog2 ... % make install often pops up windows asking me to choose configuration options, and hangs until I do so. I want to install 50 apps on a new server, but not have to watch it constantly. I want to tell ports: just use the default options for now: if I'm unhappy w/ them, I'll come back, do a 'make rmconfig' and rebuild. How can I do this? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[EMAIL PROTECTED] - does free distributed computing exist?
There are several projects (like [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], etc) that let you donate spare CPU power to a specific cause. Is there a project that lets you donate spare CPU power to anyone who needs it? That is, a pool of CPU power that anyone can tap into for free to run computations that would otherwise take forever? I realize it's dangerous to let people run random commands on your system, so this would be limited to pure mathematical functions or something like that (no disk/network access), w/ donator-specified limits on memory/etc. I also realize calling functions over the network is 2 orders of magnitude slower than calling them in memory, so this would only be useful if you could distribute a large number of CPU-intensive parallel function calls. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unix command-line tools to edit SharePoint site?
I begrudgingly use a Windows SharePoint server at a customer's request. I'd like to automate (command-line) updating and creating documents, lists, etc. Is there a Unix tool that does this? I know SharePoint has an API, which basically spoofs the GET/POST calls that your browser would make(?). Has anyone written a Unix command-line tool (or Perl module, etc) that abstracts this? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Line-by-line mode for ssh?
Telnet has a line-by-line mode that's really useful on a slow connection: you can type in an entire line of text and hit return instead of having to type one character at a time. Is there anything similar for ssh? I tried tunelling port 23 on my machine to port 22 on the remote machine and then doing telnet localhost 23, but this seemed kludgey + didn't work (as I sort of expected, it just connected me to sshd). I suppose I could run telnet locally on the remote machine or something, but is there a cleaner solution? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Snapshotting a system before fixing it
When a critical service on a system goes down, fixing it is top priority. Unfortunately, this makes doing a post-mortem analysis more difficult-- after you've fixed the problem, doing ps, mailq, or whatever isn't that helpful. Question: has anyone written a script that quickly snapshots (saves to a file) the important values of a system? You could then quickly run snapshot.pl before fixing the system, and examine the output of snapshot.pl later at your leisure. If I wrote something like this, it would dump the output of ps -aux -www, mailq -v (maybe), and a few other commands to /tmp/snapshot.`date` or something. Has this wheel already been invented? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recovering data from a newfs filesystem
Months ago, I got a new USB drive for my Mac OS X, did newfs /dev/disk1 on it, and it's been working fine. I then foolishly did disklabel -create /dev/disk1, which broke it. How can I recover my data? I've tried fsck w/ alternate superblocks to no avail. less -f /dev/disk1 shows me the disk label I created: ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple\ .com/DTDs/PropertyList-1.0.dtd plist version=1.0 dict keyBase/key integer131072/integer keySize/key integer500107730944/integer /dict /plist but also shows me my file names/content, so I'm convinced the data is still there. How do I recover my data? I assume newfs creates a UFS by default? Can I decode /dev/disk1 the way one might decode a TAR file? Posting here because I know Mac OS X is FreeBSD inside. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Allowing noschg in multi-user mode on Mac OS X
Most FreeBSD kernels let you set a flag(?) to decide whether chflags noschg will work in multi-user mode. How do I do this w/ Mac OS X? Here's what happens when I do chflags noschg in multi-user mode: # chflags noschg test.txt chflags: test.txt: Operation not permitted The opposite, chflags schg, works fine. I realize this is a security feature (you can protect files in multi-user mode, but not vica versa), but it's annoying. I also realize I can boot into single-user mode (http://docs.info.apple.com/article.html?artnum=106388) where chflags noschg works just fine, but I'd like to use noschg more as advisory protection from myself, not something that requires single-user mode to undo. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using LD_PRELOAD to make date return a specific date
I recently discovered LD_PRELOAD, a cool environment variable that lets a library intercept system calls. For example, setting LD_PRELOAD to /usr/lib/libtsocks.so lets tsocks intercept socket connections and redirect them to a SOCKS proxy. My question: how can I write a library that intercepts the gettimeofday() system call (or time() or whatever the 'date' command uses) and gets 'date' to return, say, Thu Jan 1 00:00:00 UTC 1970? I realize this involves a couple of steps (writing a C library for one), so any pointers are appreciated. My real intentions are more complex (and sinister G). -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Loop/wildcard-like syntax for GNU make?
Here's a Makefile that converts 3 GIFs to JPGs in a given directory: 1.jpg: 1.gif /usr/local/bin/convert 1.gif 1.jpg 2.jpg: 2.gif /usr/local/bin/convert 2.gif 2.jpg 3.jpg: 3.gif /usr/local/bin/convert 3.gif 3.jpg How do I generalize this to apply to ALL the GIFs in a given directory? I tried: *.jpg: *.gif /usr/bin/local/bin/convert $1.gif $1.jpg but this obviously doesn't work (I didn't really expect it to). Neither does for $i (*.jpg) { $i.jpg: $i.gif /usr/bin/local/bin/convert $i.gif $i.jpg } (again, didn't really expect it to, since you can't put shell looping into a Makefile). -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using weekly backup disk to store partial full backup as well?
I currently backup important files to DVD weekly. These files are 2G in size total, so I waste ~2.7G on each DVD (these are DVD-Rs, so I can't wipe/re-use them). How can I use this wasted space to do a complete backup? Example: first week, backup the first 2.7G of my HD; second week, backup the second 2.7G of my HD, and so on. Once the full HD is backed up (over a number of weeks), roll over and backup the first 2.7G again, etc. My question here: given that the contents of my HD change constantly, is there a program that will tell me WHICH 2.7G to backup each week? In other words, a program that will tell me one of the following: % Here are 2.7G of files that you've never backed up to weekly DVDs. Some of these are files that were created/changed in the last week. Others are old files that you've just never backed up. I'm choosing these files in a specific way and keeping track of them. Once you've backed up these files, I'll choose a different 2.7G of files next week (unless some of the files you backup today change between now and next week). % There are only 1.0G of files that you've never backed up to weekly DVD, and here they are. I've chosen an additional 1.7G of files that you HAVE backed up, but they were backed up a long time ago, so it's a good idea to back them up again. Obviously, 2.7G is an arbitrary number here, and it may vary week to week. If my important files suddenly grow to 3G, I'll have only 1.7G left for the partial complete backup files. Improvements would include compression, an exclude list, not backing up two files w/ the same content, etc. I do make regular complete backups, but it'd be nice to have this extra layer of protection. I considered writing something myself using find/ctime, but am too lazy! -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD equivalents of hwclock and adjtimex?
What are the FreeBSD equivalents of hwclock (view/set the BIOS hardware clock) and adjtimex (adjust clock speed)? I couldn't find these two well-known Linux commands in ports? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tool for validating sender address as spam-fighting technique?
To fight spam, I want to validate the address (not necessarily in real-time) of the a given email sender. Is there a Unix tool that does this? The basics are simple: to validate [EMAIL PROTECTED], I connect to the MX record of wnonline.net and go as far as RCPT TO as follows: host -t mx wnonline.net wnonline.net mail is handled by 5 wnspf.bayou.com. telnet wnspf.bayou.com. 25 Trying 209.209.192.75... Connected to wnspf.bayou.com.. Escape character is '^]'. 220 Welcome to Bayou mxfilter HELO domaintester.com 250 mxfilter.bayou.com MAIL FROM: [EMAIL PROTECTED] 250 Ok RCPT TO: [EMAIL PROTECTED] 550 [EMAIL PROTECTED]: Recipient address rejected: 5.1.1 [EMAIL PROTECTED]... User unknown QUIT 221 Bye Connection closed by foreign host. This tells me [EMAIL PROTECTED] is an invalid address and that mail from that address is probably bogus. A more sophisticated tool would cache results, handle temporary failures (eg, inability to connect to the MX server), handle multiple MX records, perhaps even publish results [carefully, to avoid giving spammers a source of legit email addresses!], etc. Plus, I'd prefer to use a tested tool vs hacking something up myself. I realize this technique is far from perfect: Spammers spoof legit addresses Bounces/Mailing lists/etc legitimately use do not reply addresses It could be considered unfriendly to the target MX servers Some mail servers incorrectly say user unknown when they see spam, figuring it's more of a deterrent than saying you're a spammer Some mail servers inefficiently accept mail for [EMAIL PROTECTED] (where xxx.com is one of their domains), figure out if foo exists later, and send a bounce back to the envelope sender, instead of rejecting email at the SMTP level (a really good tool would create throwaway addresses to catch these cases too) ... but I still think it might help. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Effectively detaching 'less' from a pipe
I often run commands piped to 'less', to make sure the command is working OK by looking at the first few lines of output. Once I'm convinced, though, I'd like to get rid of less, and just have the rest of stdout spewed to the terminal (and/or /dev/null and/or to a file I specify). In other words, I want to stop hitting 'space' until my program terminates. How can I do this? My current kludges (both ugly): 1. do command file and then tail -f file | less (this mostly works, but takes a while to get started because of buffering issues) 2. do command | less, and once I'm happy w/ the output, hit 'q' to quit less (and thus terminate program) and then do command /dev/null (works, but wastes time, since I have to run the command once just to look at the first few lines and then abort it) -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Low-cost dedicated FreeBSD server or non-jail VPS?
I'm looking to rent a low-cost FreeBSD dedicated server or VPS with root access. For a VPS, I realize this is really psuedo-root access. I once rented a VPS on a FreeBSD box that was split into virtual boxes using jail, but wasn't happy with it. So, if it's not a dedicated box, I'm looking for something like Virtuozzo, Xen, vmware running FreeBSD as a guest OS, etc. The box doesn't have to be super-fast or have lots of disk space: just looking for something that will let me play around with ports, pf, run experiments, etc Does anyone have any suggestions? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low-cost dedicated FreeBSD server or non-jail VPS?
Thanks, Derek. I'm not looking to run this machine from home or to co-locate an existing box (though I suppose I could do that). As Jay mentions, I'm looking for something like: http://tektonic.net/unmanaged.html http://www.leeware.com/vps100.html http://rosehosting.com/virtserv.html (all bad examples because none of them offer FreeBSD) -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. On 2/7/07, Jay Chandler [EMAIL PROTECTED] wrote: Derek Ragona wrote: FreeBSD runs on most i386 based hardware as long as you have 64 MB ram or more. So you can recycle an old desktop PC to run FreeBSD and then have at it. Or buy a cheap new desktop or refurbished. -Derek The problem with this approach is that it doesn't get you a static IP with proper rDNS and a host of other things... I'd have interest in the answer to this question as well, as a jailed environment isn't quite what I want either. -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / [EMAIL PROTECTED] Today's Excuse: Too many interrupts ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Single command that outputs system status?
It's easy to write a shell script that dumps/mails the output of several status commands (eg, df -k, crontab -l, ps -aux -www, top -n -d 1 infinity, w -d, mailq -v, netstat -a, vmstat, etc) every hour, but I'm wondering if I'm re-inventing the wheel. Is there a FreeBSD command that reports system status, either an existing shell script that does the above, or something that talks to the kernel at a lower level and reports all relevant values? I know about /etc/periodic/*/*status*, but this seems both excessive in places (I don't really need rejected email info, for example) and incomplete (I don't think it gives me all the information the commands above do). I also know about mrtg, but that seems more geared toward graphing and storing historical information and seems limited as well. I realize this question is ambiguous. I guess what I'm really asking is: is there a FreeBSD tool *designed* to report system status on a regular basis, that I could use as the basis of an hourly reporting system, even if I had to add/tweak some stuff myself. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Signing a document with my SSH key, not a PGP key?
I want to sign a document with ~/.ssh/id_dsa so that people who have my public SSH key (~/.ssh/id_dsa.pub) can confirm that it's from me. I don't want to encrypt the document, just sign it. How can I do this? Is it a good idea? Does ssh-keysign (which is disabled by default) play into it? I know how to sign things using a PGP key, but was wondering if an SSH key would work as well? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unix/sh/bash/tcsh command to limit clock time for program?
Is there a Unix or shell command that runs a given program for n seconds and then terminates it (unless the program takes less than n seconds to run, obviously)? I know ulimit can limit a program's CPU time and sh's TIMEOUT variable can limit idle time at the shell prompt, but how to limit a program's clock time? There's an expect script that seems to do what I want (http://expect.nist.gov/example/timed-run), but is there something more basic and built-in to either sh/bash/tcsh or Unix? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Command-line iridium flare prediction software for Unix/Mac OS X?
I've seen lots of iridium flare prediction software that's graphics-based, but is there any that can be run from the command line? I want to run the predictor as a cron job and pipe the output to a Perl script, for example. I'm running Mac OS X, but if I can get the source of anything that runs on FreeBSD or Linux, I'm pretty sure I can get it to compile on Mac OS X. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]