The collected works of cjones

Looks cool. So what are you using for a cd writer... is it internal/external? Just curious...

-chris
Well...just a thought on your first question of how to keep your settings stay after reboots. The obvious though is, how often are you rebooting that you are forced to worry about this?

My understanding of unix was it's meant to stay up.... in my specific experience I've on a routine basis had systems be up for hundreds of days at a time.

And sorry I don't have anything more helpful... I am jealous of your monitor though. :)

-chris
joerg wrote:
glennmeyer wrote: I was using the Mozilla suite on IRIX until a few weeks ago, when somebody at SGI told me about Nekochan. I soon found foetz's builds of firefox and thunderbird, which I have already been using on other platforms because, well, firefox is better than IE, Safari, etc. Thanks, foetz! One thing I can't do yet in the foetz version of firefox is use "Send Link" to email a link by invoking Thunderbird, or create an e-mail button in the Firefox Toolbar. Can someone tell me how to install or enable this capability?

Thanks!


IIRC we already have a thread about the issue when someone clicking on an url in thunderbird and how to start FF than instead of old netscape or mozilla. The solution was to put some config value in the main configfile from thunderbird. I expect there is a similar for the other way too. When using 'about:config' in the address bar you can see a lot of settings. Maybe there is already one without the right value.

regards


Ok... maybe I'm missing something, and if so I apologize in advance. But glennmeyer's question in this thread was how to start thunderbird ... or more specifically clicking on a link in somebody's webpage to send a mail and have *that* open up a thunderbird message compose window.

What you're saying in your reply, and the thread that Hakimoto pointed us to is the thread to do the *reverse* - how to kick off an instance of firefox when clicking on a url inside an email message.

In that thread referenced, it definitely is clearly shown in more than one way how to do this (although I personally like my way that I posted... :) ). But that thread doesn't seem to have anything to do with glennmeyer's question in this thread about kicking off a message compose in thunderbird from firefox.

I too would very much like to know the answer to this question. Has anybody out there actually done this successfully?

-chris
Interesting... in my 8+years of admin'ing SGI's (and having my share of them lose power unexpectedly), I've never seen a system boot up and see something like this:

The root file system, /dev/dsk/dks0d1s0, is being checked automatically.

fsck: checking /dev/dsk/dks0d1s0

** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Free List
23948 files 1428216 blocks 383016 free

Just out of curiosity, is that something that would happen automatically if the filesystem was *really* hosed, or could it be because the filesystem is EFS instead of XFS? I've never worked with anything other than XFS, and I always assumed because it's a journaled filesystem that was why I never saw it (unlike the SUN's that I admin who have that happen all the time... )

-chris
I've got an octane that I was planning upgrading from 6.5.21 to .27.... so I'd very much like to hear how your problem works out stuart!

Thanks,

-chris
Mare wrote: Sorry but am I the only one who thinks these post bars and titles are a bad idea?

I have seen many boards/forums that have ratings/titles/progress information for users and all they ever achieve is an increase in spam and pointless threads. I like the fact that there is a low amount of useless posts on nekochan and the Mods do a fantastic job at stopping cross posting and suspect threads from staying up too long.

But surely the introduction of these progress bars are just going to tempt people into posting for the sake of their profiles numbers.

There was a forum I used to visit a while back that had a massive problem with spam replies of nothing other than emoicons or quoting the above poster without adding anything. The fixed the problem by removing post counts and post level titles.

As usual its Nekos board and he can run it how he wants but do any these 'ohh my post count is higher' features of the phpBB really contribute to the usage of the board? The current back log of posts serve as an awesome collection of information for visitors.

Meh, just my oppinion 8)


I have to say I agree.... but of course I don't run the site, so just take it as my two cents worth. I do love the site overall!!!

-chris
Thank you glennmeyer! I did the same thing in my prefs.js file and it worked like a charm! It's nice to finally be able to click on one of those 'email me at... ' hyperlinks in a firefox window and have my thunderbird message compose open up.

Sweet!

-chris
Hey all,

I've just downloaded foetz's firefox_107-gtk1 version (was running the same 1.06 version) and I tried this one java page that I have found that is a good little 'java test' type page:

http://www.java.com/en/download/help/testvm.xml

It starts to load up, but then the browser crashes and I get this in my window:

# HotSpot Virtual Machine Error, Unexpected Signal 11
# Please contact your local SGI support provider
# at http://www.sgi.com/support/supportcenters.html
#
# Error ID: 4F533F495249580E4350500827 00
#
# Problematic Thread: prio=4 tid=0x110b9720 nid=0x40013 runnable
#
# For more information, try running with the following
# environment variables set:
#
# setenv JAVA_CORE_DUMP
# setenv JAVA_PRINT_CRASH_INFO
# setenv JAVA_SIGNAL_HANDLER_HANG
#
# As a workaround consider using the classic java virtual machine with -classic command line opion

# The output generated through the use of the JAVA_CORE_DUMP and
# JAVA_PRINT_CRASH_INFO environment variables is intended solely for
# customer support purposes. If you have a support contract, you can
# provide it to your support representative when reporting bugs. Before
# doing so, please review it to ensure that it does not reveal
# proprietary information that should not be given to SGI. See
# /usr/java2/webdocs/bugs.html for more information.
#
INTERNAL ERROR on Browser End: Pipe closed during read? State may be corrupt
System error?:: Error 0

I *can* still go the one site in particular that I do everyday (the site where I put in my hours for work) and that's all that really matters to me. But I wondered what this problem might be.

Another wrinkle in the situation was that for grins I went and re-ran the older 1.06 version and interestingly enough it crashed in exactly the same way on the above java testing page. So now of course I'm wondering when the last time I was actually able to get that page to work.

I'm curious if anybody else running the gtk1 version of 1.06 or the new 1.07 can get the url above to work w/o crashing... :)

Thanks! (and thanks for cranking out the updates foetz!)

-chris
Hey all.

Forgive me if this is answered somewhere on the forums... but I searched and couldn't find anything relevant (actually was overwhelmed with the hits I got). I've got my desktop system running 6.5.27, and I wanted to install the 'gnu' package.

I've got all the base 6.5 cd's and the different overlays on disk... so when I go into inst I can load up easily all cd's needed. I then load up the following packages (what I always do... except the overlays change depending on what 6.5.x version I"m working on):

IRIX_6.5_Foundation-1
IRIX_6.5_Foundation-2
IRIX_6.5_Development_Foundation_1.3
IRIX_6.5_Development_Libraries
ONC3_NFS_Version3
IRIX_6.5_Applications_June_1998
6.5.27_Installation_Tools_and_Overlays_1_of_3
6.5.27_Overlays_2_of_3
6.5.27_Overlays_3_of_3
6.5.27_Complimentary_Applications
6.5.27_Applications

I know I want only the 'gnu' package... so I then type 'keep *' and then 'install gnu'. When I then look to see what I installed, I of course see all the 'gnu' subproducts listed that come out of the 6.5.27_Applications cdrom like I expected.

But when I check for conflicts, I see a bunch (like thirty of them) of these:

gnu.sw.textutils cannot be installed because of missing prerequisites:
1a. Do not install gnu.sw.textutils (1278600920)
1b. Also install fw_textutils.sw.textutils (1236376120 - 1289999900) from
an additional distribution -- insert another CD or specify another
software distribution.

gnu.sw.tar cannot be installed because of missing prerequisites:
2a. Do not install gnu.sw.tar (1278600920)
2b. Also install fw_tar.sw.tar (1278555120 - 1289999900) from an
additional distribution -- insert another CD or specify another
software distribution.

I know that in earlier distributions there were actually 'freeware' cdroms... I've got three freeware cd's (1 of 3... 2 of 3... 3 of 3) from May 200, but I don't think they do that anymore since I haven't seen the cd's in a long time.

Now if I know exactly what cd's that inst is looking for... and I've never understood what the numbers in parenthesis are.

So I'd love it if somebody could enlighten me on what I'm missing. Thanks!

-chris
I thought about ingoring the dependencies... but correct me if I'm wrong but I can't do that unless I type 'set rulesoverride on' to let it install anyway. Then of course there's still no way of knowing what kind of unknowns doing this could cause.

I was kinda hoping somebody else out on the board has seen/solved this. :)
Ok... tried two things. First, I loaded up the freeware cdrom's I have to disk to see if they could be the magic cd's to resolve my conflicts. No go.

I then figured what the heck... when I had my conflicts that I showed, I 'set rulesoverride on' and told it to install. I've done this before with no issues... but this time was different. I got this upon quitting out of inst:

Inst> quit
ERROR: INCOMPATIBLE SUBSYSTEMS INSTALLED

The software installed on this system has existing conflicts.
Exit allowed because "rulesoverride" option is set.

And then from 'versions long' I can see that the subproducts have no file size:

l 0 0 gnu.sw.emacs usr/gnu/bin/b2m
l 0 0 gnu.sw.shutils usr/gnu/bin/basename
l 0 0 gnu.sw.bash usr/gnu/bin/bash
l 0 0 gnu.sw.textutils usr/gnu/bin/cat

and also when I cd to /usr/gnu/bin where the binaries should be, all the newly installed files are dangling symbolic links to /usr/freeware/bin.

So I'm officially out of options... any thoughts from anybody?

-chris
gtogl wrote: wow, many thanks for the code :)

btw: that's exactly how I determin the % under linux, simply parse /proc/stats, sleep a second, parse again, compute difference, compute percentage.

and I guess that's how f.e. "top" works, because top always needs that first second before all the values seem sane

edit: your code works like a charm. I am currently writing a little script to compute the cpu % (among other things) and display it on the L1 display of the bricks, as soon as I'm finished, I'm gonna post it here if anyone is interested


Hey - did you ever get that script you talked about for the L1 display to work? I'd love to give it a try on my hardware.

Thanks!

-chris
Hey... I've got an octane w/an extra graphics card so I can have the whole dual-headed destkop. I've had it for a few years now and it works great.

But twice now, one of the monitors just gets 'fuzzy', like it's waaaay out of focus. It's not the monitor, since switching to the extra input on the monitor (it's one of those dual-vga input ones) didn't change anything.

I haven't swapped out the monitor cable yet because I need to find a 13w3 - vga cable (I think I've got one laying around somewhere... ) so that's still a possiblilty for the culprit.

When this happened a few weeks ago, rebooting the octane seemed to do the trick. But today it's still fuzzy after a reboot.

Anybody ever have this happen to them? Also, the two graphics cards are ESI, and the octane is 300MHz R12k.

Thanks,

-chris
ShadeOfBlue wrote: If this is an LCD you're having problems with, then you might want to check if it has some sort of "Auto adjust" button or menu option.
Something similar to what you described seems to be quite common with LCDs connected via the analog port and the auto adjust fixes it almost always (use it more than once if it doesn't do the job the first time).

I have to do this once in a while with my LCD which is also connected to an Octane (MXE) and after that everything works fine. :)


Nope... it's a good ol' CRT monitor. I guess I should have said that. :) But also oddly enough, it's just started working fine again. Could it be some kind of 'warming up' kind of thing?

-chris
Hey all,

I consistently run 'sar -A' and store the data files on some of my production systems here at work. I need to pull out of them memory information... specifically how often memory is getting used up or swap space used.

It seems like running 'sar -R -f <my data file>' will give me exactly what I want.... the only problem is the output is in *pages*. The same thing for the '-r' option that gives info on 'unused memory pages and disk blocks'... it's in pages.

So what's the translation (on an Origin2000 system) of 'pages' to 'bytes' so I can look at my sar output and get some real info from it?

Also... if anybody has any helpful scripts (I'm trying to write one) that can take sar data files and easily pull out info in some readable type file, let me know! I've got one written for cpu info... just not memory.

-chris
dj wrote: Searching around, I found this:

cch.loria.fr/documentation/O2000/programmer/pdf/06chap1.pdf.gz

"Secondary cache lines are fixed in size at 32 words, or 128 bytes. Main memory page sizes are multiples of 4 KB, usually 16 KB."

The "usually" is kind of scary (a kernel configuration option?) but you should be able to double-check this. On my indigo2 the output of "sar -R" shows the physical memory to be 24576 pages. Assuming a page size of 16384 bytes: 24576 pages * 16384 bytes = 402653184 bytes / 1048576 = 384 megabytes. Which is what hinv shows.

Here's a csh one liner to print memory usge in megabytes for user programs:

echo "scale=10;"`sar -f sar.data -R | tail -1 | awk '{print $4}'`"*16384/1048576" | bc


Dude!!! That is awesome! That's exactly what I needed! My system does indeed use 16Kb for it's page size, because doing the same calculation that you did on your indigo2 gives me 8192Mb.... which is what hinv shows.

And that csh one liner also works perfectly. I can easily modifiy it to handle different options to sar... just making sure I know which column to awk out.

Thanks a ton! Now I can write a wrapper script to use that line and operate on list of sar data files. :)

-chris