Hi Jim,
I am looking at Sandy Bridge CPUs for unrelated reasons, but just saw this
and it reminded me of your post so I thought you'd find it useful
http://www.fudzilla.com/processors/item/20203-sandy-bridge-gpu-gets-disabled-with-discrete-gpu
Although it doesn't look like good news for you.
I know you found the answer already but ethtool -i interface can also work
and is very simple
Just thought I'd throw that in :)
On 14/02/2011, at 1:12 PM, DaZZa dagi...@gmail.com wrote:
On Mon, Feb 14, 2011 at 11:57 AM, Peter Hardy
pe...@hardy.dropbear.id.au wrote:
And in case this hasn't
imho, I would have thought that Open Standards are for more critical for a
government to require the use and enforcement of.. But even this would be a
great win for open source in general as this would also force big companies
to support properly open standards in their own products, which then
I think you want to use bc to calculate the percentage.
the lines
free_var=${free%.*};
total_var=${total%.*};
are removing everything after the decimal point, which leaves 2/2 * 100
which is of course 100%
I presume it does this so that bash can then perform the arithmetic
evaluation
err, sorry, missed a closing quote
per=`echo ($free/$total) * 100 | bc -l`
On Tue, Oct 19, 2010 at 9:34 AM, Tony Sceats t...@fatuous.org wrote:
I think you want to use bc to calculate the percentage.
the lines
free_var=${free%.*};
total_var=${total%.*};
are removing everything after
you definitely need to setup snmpd.conf, although I'd be surprised if decent
defaults weren't already there
snmpwalk is a useful utility for debugging this stuff - you should basically
get every snmp metric available by pointing this at your monitored machine,
using the right snmp version and
by default
rpm -ql net-snmp
On Thu, Sep 16, 2010 at 9:00 AM, Voytek Eymont li...@sbt.net.au wrote:
On Thu, September 16, 2010 8:45 am, Tony Sceats wrote:
you definitely need to setup snmpd.conf, although I'd be surprised if
decent defaults weren't already there
snmpwalk is a useful utility
I've found XFS to be good for databases. MySQL, for example, keeps separate
tables as files, so you can get some very large files, which is in XFS's
favour
Although I've not tried any Oracle fs, and otherwise not sure which file
systems you're referring to, but interested to know?
On Tue, Aug
how about using a slightly different approach with split
@input = split /\/;
$input[0] should now be pg=something, $input[1] will be the
args=somthingelse
so you can trivially match, modify and print this to your output, whether or
not it has extra arguments.
On Wed, Jul 14, 2010 at 11:24
not really on topic, but a fun little site detailing some disk vibrating
issues
http://blogs.sun.com/brendan/entry/unusual_disk_latency
On Tue, Jun 15, 2010 at 3:10 PM, james j...@tigger.ws wrote:
On Tuesday 15 June 2010 12:15:52 you wrote:
On Tue, Jun 15, 2010 at 11:14:38AM +0800, james
Slower, though ... is a bit of a strange claim. Not because it is false,
but
because the answer is complex: you can, for example, double read speed and
halve write speed, using a two disk RAID 1 array ... in the ideal case.
I must say I'm curious about this, because I have always assumed
I may have missed something, or maybe someone else has suggested this
already, but why not pull instead of push?
ie, from the machine that is the backup, connect to the master server and
rsync that way
- this will mean that anything that's world readable but only writable by
root wont be a
, Tony Sceats wrote:
I may have missed something, or maybe someone else has suggested this
already, but why not pull instead of push?
ie, from the machine that is the backup, connect to the master server and
rsync that way
- this will mean that anything that's world readable but only
...@gray.net.au wrote:
On 12/02/2010, at 7:38 PM, Tony Sceats wrote:
I may have missed something, or maybe someone else has suggested this
already, but why not pull instead of push?
ie, from the machine that is the backup, connect to the master server
and
rsync that way
- this will mean
simply put, they can't really do it. All of the proposed solutions are HTTP
based only and have a variety of workarounds associated with them anyway. It
could stop a kid I'm sure, but maybe not a determined one.
On Thu, Dec 17, 2009 at 10:49 PM, Kevin Shackleton
kev...@reachnet.com.auwrote:
I'm
IMHO something like this is best done by hiring professionals, as some
random person may or may not have the experience and skills they may or may
not suggest, giving you a false sense of security in their findings.
Anyway, having said that, having a poke around yourself is always fun and
AIUI you can however run
a 32 bit userspace on a 64-bit kernel - but I've not done this so can't
offer advise ;).
I do this all the time and it works, however the most common problem is not
having all the 32 bit libraries installed, eg, glibc, where you will have
the 64 bit equivalents
what you're trying to do is usually referred to as a transparent reverse
proxy.. you should be able to find heaps of info on this
google gives this as first hit
http://www.visolve.com/squid/whitepapers/reverseproxy.php
I briefly scanned it, it looks about right
On Tue, Aug 18, 2009 at 5:00 PM,
On Tue, Aug 18, 2009 at 6:47 PM, Robert Collins
robe...@robertcollins.netwrote:
On Tue, 2009-08-18 at 18:38 +1000, Amos Shapira wrote:
2009/8/18 Tony Sceats tony.sce...@gmail.com:
what you're trying to do is usually referred to as a transparent
reverse
proxy.. you should be able to find
Hi Sluggers,
I have a strange requirement to redirect UDP packets sent to
255.255.255.255, forwarding them to another machine in a remote network...
yes, this is borked - there is an application sending data to
255.255.255.255, not multicast or unicast, but broadcasting UPD packets, and
I'm in no
that sounds like a very useful tip, and whilst you've got wireshark open you
can check if the flash file does any extra data transfers like Daniel
suggested could be the case.
but even more interesting is that if you have the capture running when you
browse to the website and load the flash file,
Not a great help because I can't remember any product names, but there is
all sorts of 'home security cam' software that only records movement in the
frame - I think they are taking advantage of some aspects of MPEG encoding
to acheive this so you can end up with an MPEG that only includes the
The CLI command umount does this within the Linux / Unix OS.
That should have the filesystem flush data, but doesn't actually push
out dirty pages for the device — if you accessed it raw at any point
this will not be sufficient.
(Also, lower layers such as LVM, software RAID, etc, might
On Sat, May 16, 2009 at 6:19 PM, Daniel Pittman dan...@rimspace.net wrote:
Tony Sceats tony.sce...@gmail.com writes:
The CLI command umount does this within the Linux / Unix OS.
That should have the filesystem flush data, but doesn't actually push
out dirty pages for the device — if you
I'm actually not sure I'm reading this right, but I don't think you want to
dd to an NFS share? Maybe you meant XFS should match correctly?
If you're trying to do it over a network, I would have thought you'd have
more luck by piping dd through an nc connection, then dd back to a disk on
the
there is no
obvious conflict here.I don't care whether it is fast, it is a
recovery operation not a prime server.
Ta
Ken
On Wed, 2009-05-13 at 21:10 +1000, Tony Sceats wrote:
I'm actually not sure I'm reading this right, but I don't think you
want to dd to an NFS share? Maybe you meant XFS
I would guess IP addresses in decimal form, and a netmask in CIDR
Unsure about the negative one though - I suppose an IP could turn out
negative with signed integrers, not sure though
On Sun, Apr 12, 2009 at 1:57 PM, david da...@kenpro.com.au wrote:
I'm trying to debug a networkmanager problem.
The lack of attention to detail, and it has been published for two
days now, doesn't give one any confidence that the Premier's
Department understands how to effectively communicate using the
intarwebs.
and you're surprised? IMHO the NSW government is like the Old Boys Club,
effectively
Yo. I'm with you man!
What I meant was the way some confs etc are done in /etc. I've been using
freebsd (just learning) and the /etc/ssh/sshd_config was done slightly
differently and looked like it was taken from the project/openbsd with some
modifications (I don't know for sure but it sort
I agree that Neooffice also was quite stinky when I used (some time ago I
must admit), but now OO.o works really well on the Mac as of version 3 -
it's come a long way since Version 2 which I found had all sorts of issues,
the best build that I had also had all the UI icons upside down, but
Maybe you could cut down on the requirements by only running a console and
writing the jpg to the framebuffer?
http://en.wikipedia.org/wiki/DirectFB
not sure how'd you go from there, but this sort of thing should get rid of
the X overhead, pretty sure you'd be able to get some utilities to write
with VirtualBox 2.1.4 you don't have to setup any bridging, at least not to
be on the same LAN (ie, my VirtualBox machine is on the same subnet as my
the physical machine)
basically you just say use eth0 (or whatever) in the Virtual Machine config,
and it doesn't setup any bridge interfaces
very
do it but I thought OSE couldn't (yet).
2009/3/19 Tony Sceats tony.sce...@gmail.com
with VirtualBox 2.1.4 you don't have to setup any bridging, at least not to
be on the same LAN (ie, my VirtualBox machine is on the same subnet as my
the physical machine)
basically you just say use eth0
Actually I guess not - I just noticed the window title of my virtual
machine, and it's xVM..
On Thu, Mar 19, 2009 at 4:41 PM, Tony Sceats tony.sce...@gmail.com wrote:
erm, I thought it was, but the 'About VirtualBox' doesn't say so - I got it
from the VirtualBox website as a binary
maybe you should check your interfaces for half/full duplex and if there's
errors or collisions...
otherwise have a play with vmstat, iostat, mpstat etc - they could point you
in a direction to look further, at least it will give you hints to see if
the box is actively swapping (have swapped out
hey that's a good one, it even works with quotes :)
On Sat, Feb 7, 2009 at 1:06 AM, Michael Chesterton
che...@chesterton.id.auwrote:
On 06/02/2009, at 9:06 PM, Tony Sceats wrote:
It's been a while since there's been a thread like this, so I thought it
would be fun :)
Here's quickie
On Sat, Feb 7, 2009 at 11:58 PM, Daniel Bush dlb.id...@gmail.com wrote:
On Feb 6, 9:06 pm, Tony Sceats t...@fatuous.org wrote:
It's been a while since there's been a thread like this, so I thought it
would be fun :)
so, have you got any?
I've got 2 to share today:
alt
It's been a while since there's been a thread like this, so I thought it
would be fun :)
so, have you got any?
I've got 2 to share today:
alt and then
alt
for interactive shells, works kinda like ctrl r or !$ - that is, it searches
your history but in a strangely useful but different way
maybe there's an open write lock on /dev/log that keeps the send() hanging?
On Wed, Feb 4, 2009 at 8:39 PM, Jeremy Visser jeremy.vis...@gmail.comwrote:
On 02/02/2009, at 11:56 AM, Daniel Pittman wrote:
That should let you see which syscalls were delaying the process, and so
narrow it down to
On Thu, Oct 23, 2008 at 10:19 PM, David P [EMAIL PROTECTED] wrote:
On Thu, Oct 23, 2008 at 1:18 PM, DaZZa [EMAIL PROTECTED] wrote:
useradd -c ClamAV scann user -d /var/clamav -u 104 -s /bin/sh clamav
and then
passwd clamav
I would avoid creating another user in this situation; it
Can't you use robots.txt (or the modern equiv, is there anything newer
actually?) to stop mass indexing, perhaps point it to pages you want indexed
and also tell it to exclude images etc etc?
On Thu, Oct 23, 2008 at 10:45 AM, Peter Chubb [EMAIL PROTECTED]wrote:
Hi,
I'm a little cheesed off.
Okay, okay, okay. But other than that, it's a good
idea isn't it, this ISP filtering the 'net for the
Govmint man?
One problem that arises is that because this is an 'opt-out' strategy, by
opting out you may be put onto a list of deviants that could be used in a
variety of illegitimate ways
surely?
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
On Fri, Oct 17, 2008 at 7:49 AM, Voytek Eymont [EMAIL PROTECTED] wrote:
On Thu, October 16, 2008 11:01 pm, Voytek Eymont wrote:
I've ended up with 49 files from original 50,000 files, seems pretty
not only I've managed to replace last 7 days email, I think I might even
know why there were
something like
ORIG_DATE=`date -d 7 days ago +%s`
for mail in `find /path/to/mail/dir -type f`
do
DATE_STRING=`grep -m1 ^Date $mail | cut -d: -f 2-`
MAIL_DATE=`date -d $DATE_STRING +%s`
if [ $MAIL_DATE -gt $ORIG_DATE ]
then
mv $mail /some/path
fi
done
no
Performance depends specifically on the job at hand, and whilst short on
detail, I would suspect that you want fast file systems and disks optimised
for write speed, but that's probably less than half the story, and I'm
guessing that whatever the rest of the details are, you will be trying to
tune
, the precise backup solution/software chosen will drastically change
how you tune the server, which is actually what we were both saying, so it's
a case in point
On Sat, Sep 6, 2008 at 11:03 AM, Daniel Pittman [EMAIL PROTECTED] wrote:
Tony Sceats [EMAIL PROTECTED] writes:
Performance depends
You should also look to see if the machine is running out of memory. I've
had this problem before and it turned out the machine was running out of RAM
and also running out of SWAP...
If you keep a console open before the problem starts to appear you might be
able to see the issue - maybe even
, it's not a big deal, I no longer get interface
errors so the thing that needed fixing was fixed
Thanks anyway :)
On Mon, Aug 4, 2008 at 5:30 PM, Joel Heenan [EMAIL PROTECTED] wrote:
mii-tool does not support gigabit.
Joel
On Mon, Jul 28, 2008 at 5:34 PM, Tony Sceats [EMAIL PROTECTED] wrote
Hi Sluggers,
Anyone ever had mii-tool and ethtool tell them different things? As you can
see the duplex setting is being reported differently (this is a Broadcom
Corporation NetXtreme II BCM5706 Gigabit Ethernet (rev 02)). Does anyone
know of another method to check the Duplex setting so I can
The problem of course is that /tmp is a known world-writable location where
attackers can upload malicious files (if they find ways to do that). Using a
partition gives you a fairly low-level way to stop them from being able to
execute those files, so I guess the answer is how paranoid are you
I don't think you really want to allocate /var/run a huge amount of
dedicated diskspace, it's generally pretty damn small.. perhaps you should
remove the mount point so that /var/run is a part of /, and if you're using
LVM just throw the other 2Gb back into / as well
but the easiest thing is just
However, where *do* you specify /var/run? I've never run into this
before.
do you mean where do you specify the size? You would do this when you
partition the disk, usually done at OS install time, and sometimes the
installers will recommend some settings for you
imho, 2Gb is either way too
Ah, now this all depends. If /var/run was a normal disk filesystem
under Ubuntu you would be correct. It isn't, though:
] mount | grep /var/run
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
Note 'type tmpfs' there? tmpfs is a swap backed ramdisk, essentially,
and
MSY are a handy place to pick stuff up from the Inner West - it's in Ultimo,
not too far from Broadway.. The website is truly horrible, and reflects the
store somewhat.. still cheap though and parts are parts
http://msy.com.au/
and look at
staticice.com.au
for a good online price comparison
There seems to be a (new?) feature in Hardy Heron's gnome-terminal where my
tabs are popping out when I do some mouse gesture, and there's also a mouse
gesture to open a new terminal.. I find these really annoying, but I can't
find where to turn them off - google keeps pointing me to accessibility
why not have a little fun instead of locking everything down immediately :)
http://ex-parrot.com/~pete/upside-down-ternet.html
and anyway, setting up a proxy server, forcing them through it and logging
all requests may give you an insight into what they are doing on your
network, and maybe who
Has anyone here encountered a problem with the Intel Quad Core Xeon X7350
chips not booting from x86_64 media?
I'm trying to install RHEL4.5 on a brand new PowerEdge R900 and the x86_64
media wont boot, however the i386 media will.. I'm sure these are 64bit and
the propaganda indicates that at
From a search engine perspective you're better off only having one domain
work properly and having redirects set up to the chosen master domain -
this way when people link to your site you don't loose page-ranking as they
are more likely to link to the same URLs (thus increasing your page ranking)
Hi Slug,
Does anyone know how I would force a process into the Real Time scheduling
class in Linux? chrt seems to modify RT parameters once the process is in
the RT class, but I can't seem to find how to put one in there outside of it
being explicitly set within code, which is not an option in
ps axl the PRI is -100, perhaps there's a way I can
force the PRI value beyond what's allowed by nice?
On Wed, Apr 23, 2008 at 1:55 PM, Peter Chubb [EMAIL PROTECTED]
wrote:
Tony == Tony Sceats [EMAIL PROTECTED] writes:
Tony Hi Slug, Does anyone know how I would force a process
since you've professed a renewed confidence, this may be quite moot, but you
can always look at mod_security which will, amongst other things, stop the
directory traversal attacks which you have been suffering from.
Here's an article you may be interested in
you may have UTC wrong try:
date -u
and make sure it's the correct time in UTC.. you can try
zdump -v Australia/Sydney | grep 2008
to check if the dates are correct for the change
On 3/31/08, Bruce Bruen [EMAIL PROTECTED] wrote:
Greets,
env: PCLinuxOS 2007.
For some reason that I
It's motherboard specific, see if you can find the model number, it is
sometimes printed on the board, then search the gigabyte website for the
manual
On Sun, Mar 9, 2008 at 9:36 AM, Donovan, Jim [EMAIL PROTECTED]
wrote:
I'm trying to resurrect a Gigabyte motherboard with a handy
2GHz P4 on
the Complete Version manual.
Jim Donovan
--
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of
*Tony Sceats
*Sent:* Saturday, March 08, 2008 8:01 PM
*To:* Donovan, Jim
*Cc:* slug@slug.org.au
*Subject:* Re: [SLUG] motherboard error signals
It's
Exporting patient files, with the patients details (name, DOB, sex,
Medicare number, etc.) from HCN's software is possible as they can be
exported from the program as a delimited text file (patients.out), but
the patient's billing history, etc. cannot be imported into another
medical
firstly you would run any number of the tools already mentioned on the
bridged machine - ntop, ethereal/wireshark, snmp, iptables, use ip
accounting etc etc.. hell even tcpdump would be fine, if a little ugly.. for
a quick dirty I'd say ntop is your best bet though
but really, whilst these are
err, just `route` will actually work, where `route -a` is not sensical.. I
was thinking of arp, but you shouldn't have to worry about that yet.. ;)
On Nov 15, 2007 10:10 PM, Tony Sceats [EMAIL PROTECTED] wrote:
Hi Sharon,
Maybe these are stupid questions, but have you checked your DNS
Hi Sharon,
Maybe these are stupid questions, but have you checked your DNS settings?
And if you're connected to the internet (ie, your IP settings are correct)?
try running `ping www.google.com` in a terminal - this will tell you if your
connected to the internet and if it's a browser problem
I would have thought the following makes more sense
if (defined($recv})) {
chomp($recv);
$client-send(Works! Received: $recv);
}
where's %commands coming from?
On 10/11/07, Shane Anderson [EMAIL PROTECTED] wrote:
Hi All,
I'm attempting to learn IO::Socket and have hit a snag
Iceweasel. It's overwritten the directory Desktop. Rather
naughty - is that something that should be reported to their bugzilla?
Kevin.
On Thu, 2007-10-04 at 10:20 +1000, Tony Sceats wrote:
what sort of file does 'file' say it is?
--
SLUG - Sydney Linux User's Group Mailing List - http
Depends upon your client, but it looks like you want mdelete *.zip instead
of delete - your wildcards are being taken literally
On 10/5/07, Voytek Eymont [EMAIL PROTECTED] wrote:
I'm having some ftp probs:
I've logged on to ftp with xp CLI ftp as user '.com.au'
I've made a dir 've',
what sort of file does 'file' say it is?
On 10/3/07, Kevin Shackleton [EMAIL PROTECTED] wrote:
Ken,
The Desktop file does seem to be the ex-Desktop directory. Nothing good
in Trash. I'm assuming that my daughter managed to do something in
Gnome Browser or suchlike but I've not been able
You should definitely check the logs to see what's being looked at..
depending upon what it is and who it is there's a variety of things you can
do - eg change images to a lower res, or put a forbidden rule into your
htaccess files for the page being requested, or firewall off offending IPs
On 9/23/07, bill [EMAIL PROTECTED] wrote:
Thanks to Alex,Kevin, Amos, and Tony (hope I haven't missed anybody).
I've solved the problem with the LAN - there was no hardware problem,
just a problem with the newly created account for my wife. It has no
network/web access.
That's really
Hi Lee,
Not sure about version 7, but it's usually found in /etc/yum.conf
You can add the line like
proxy=http://proxy.example.com:3128
Which proxy you should use I guess depends upon what other systems would be
using yum and which proxies they use... eg, if there's no other systems
going
Hi Bill,
try running ethtool on the NIC and try to see if there's a link and what
mode it's configured in.. you can also try to hard set the link modes with
ethtool.. depending upon the switch type you may be able to hard set on it
as well
# ethtool eth0
Settings for eth0:
Supported
This is usually relevant to the permissions on /dev/dsp - usually it's rw
for the audio group.. you can modify these as you see fit
$ ls -l /dev/dsp
crw-rw 1 root audio 14, 3 2007-09-17 14:28 /dev/dsp
On 9/20/07, Kevin Shackleton [EMAIL PROTECTED] wrote:
Erik,
This machine does not
acacia IE violation: IN=eth0 OUT=ppp0
MAC=00:a0:cc:3e:22:44:00:16:6f:6c:3d:48:08:00 SRC=10.0.0.52
DST=203.63.234.178 LEN=52 TOS=00 PREC=0x00 TTL=127 ID=9213
This is an example of the log when I try and connect to my work VPN
there doesn't seem to be much useful info here - protocol number
Have you got the video memory set too low maybe?
On 8/10/07, Howard Lowndes [EMAIL PROTECTED] wrote:
My environment is Fedora 6 with KDE and I went to change the display
resolution using system-config-display.
The display is set to generic LCD 800x600 but it will only permit 640x480.
I've
a rather novel and ultimately not recommended for production solution
would be to use dns-spoof which is a part of the dsniff package - you
can basically give it hosts file format file and a tcpdump regex and
it will forge replies for you
you would, of course, have to run it on your gateway
On 8/9/07, Alex Samad [EMAIL PROTECTED] wrote:
On Thu, Aug 09, 2007 at 11:11:37AM +1000, Tony Sceats wrote:
a rather novel and ultimately not recommended for production solution
would be to use dns-spoof which is a part of the dsniff package - you
can basically give it hosts file format
check your xinetd settings in /etc/xinetd.d/tftp, you may have paths
setup differently etc
also have you tried connecting directly to the tftp server and getting
these files?
eg,
$ tftp localhost
tftp verbose
tftp get pxelinux.cfg/default
etc...
On 5/28/07, RgSalisbury [EMAIL PROTECTED]
You may be able to reset the CMOS - there's usually a jumber or dip
switch on the motherboard that will reset all the BIOS settings..
consult your motherboard manual for the precise location
On 4/19/07, David [EMAIL PROTECTED] wrote:
please excuse the off topic post but the need is urgent.
Actually, si and so refer to entire processes being swapped, not
paging traffic, so they'll never be non-zero on a modern Linux system.
I'm not sure what type of Linux system you're using, but this is not true at
least for what's in front of me (FC6)
$ vmstat 1 1
procs
I really wouldn't call myself a RAID expert, however I imagine that on a
RAID5 system, random writes are going to have a performance penalty as
parities will have to be recalculated based upon the change of, say, 1 out
of the 4 blocks already on disk - and to calculate the new parity, the other
3
you should start by looking at /etc/init.d/iptables
this uses iptables-save and iptables-restore and saves rules in
/etc/sysconfig/iptables
if you're lucky the sysconfig file is already populated and you can just
manipulate it directly, otherwise perhaps the easiest way would be to start
the
Hey Peter,
sounds like you want
tail -F log
or
tail --follow=name --retry log
never used the max-unchanged-stats argument though - maybe it's used to
delay the retry? wtf is an iteration in tail anyway? 5 poll's on the file?!
On 1/15/07, Peter Hardy [EMAIL PROTECTED] wrote:
I have a script
That (Internet socket) is lsof-specific definition.
well, not really - sockets occupy a file descriptor like ordinary files do,
so in effect it's seen as a file to a process - have a look in
/proc/pid/fd/ to see what file descriptors sockets occupy
How are you defining file?
Would something
It's pretty simple, in bash at least:
$ export A=C B=d
$ if [[ $A $B ]]; then echo $A is less than $B; fi
C is less than d
if you want to input them from the keyboard you can use 'read' and probably
a whole lot of other ways too :)
On 12/13/06, 5h4rk [EMAIL PROTECTED] wrote:
Hi, I'm trying
90 matches
Mail list logo