Tag Info

Hot answers tagged

5

You can find the equivalent information in slightly uglier form (a.k.a. hexadecimal) in /proc/net/tcp. There, you can find the inode of the connection, which you can look up under /proc/$pid/fd/. For example: $ cat /proc/net/tcp sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode 0: 00000000:0016 ...


5

The usage for the ESXi ftpput is Usage: ftpput [options] remote-host remote-file local-file Store a local file on a remote machine via FTP Options: -v,--verbose Verbose -u,--username Username -p,--password Password -P,--port Port number ftpput is telling you (correctly) that there is no local /Backup file on ...


4

The default shell in busyboxy is ash


3

Busybox can be compiled with ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS which will enable nice among others. Then you can do, for example: busybox ps -o pid,nice,user,args POSIX user, group, comm, args, pid, ppid, pgid, tty, vsz ENABLE_FEATURE_PS_TIME etime, time ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS nice, rgroup, ruser, pcpu (although pcpu seems ...


3

There's an easier way to configure remote syslogging that is even supported by VMware. Within the VIC, select the ESXi server, then the "Configuration" tab. From there, choose "Advanced Settings" and look for "Syslog" in the left-hand tree. Enter your syslog destination within the setting "Syslog.Remote.Hostname". Click OK and verify logs are making it ...


2

The current busybox version for the latest release of Diablo (43-7) is 1.6.1, which as you've seen doesn't include options for colour. A fully coloured version of ls can be installed on the n810 from Andrey's repository. If you don't wish to install and use this repository you can install ls-color manually by downloading and using dpkg -i. Then as x3ja ...


2

ls --color doesn't work? I thought it was supposed to on the more recent versions. http://www.busybox.net/downloads/BusyBox.html


2

Compile e2fsprogs with static linking and choose the binaries you need from it. You probably only need mk2fs (which makes all kinda of file systems - mkfs.ext4 is just a symlink to it. If you can't get static compiling to work "ldd mk2fs" will at least show which libearies you need to install.


1

/proc/loadavg and /proc/meminfo should be available, so you could cat /proc/loadavg cat /proc/meminfo in a small script and process it.


1

The current source code for busybox halt indicates the delay is in seconds. If you wanted to test it explicitly, you could run with a delay of 300, and if the system hasn't halted after 5 minutes, you know it's measured in minutes instead of seconds.


1

Does your system have "dpkg" installed? If so, installing the .deb package is as simple as: dpkg -i my_package.deb If dpkg is NOT installed, then I'm afraid this won't be a simple task, as apt-get depends on dpkg for most of its operations.


1

You need dpkg to ignore dependencies, use the following command: dpkg -i --force-depends mypackage.deb Or, in case you have more problems arising, use: dpkg -i --force-all mypackage.deb But be warned, package dependencies are almost always true dependencies, as in, the program might be linked against them. And using the above commands, will install ...


1

The OS must be "forced" to re-read the partition table once changes have been done. A reboot does this and hence you see fdisk changes after a reboot. I've used the following command before to re-read partition table and I didn't have to reboot, # partprobe partprobe is part of parted package


1

There is a utility available on most if not all linux distribution called 'ntpdate' More information can be found here, including some very nice installation documentation and examples. http://www.pool.ntp.org/en/


1

Ali, you didn't mention what your journaling is set to. The default mount mode of ext3 and ext4 is 'data=ordered'. This means that while metadata operations may be safe, data may be lost on power failure. If you're expecting to lose power regularly, I'd suggest adding 'data=journal' to the modes in /etc/fstab. This will slow down your write speed quite a ...


1

Got it! (root) read line < mypipe date -s $line Thank you everybody! ;)


1

Solved it. It was the initramfs image, I backed it up, replaced it by running update-initramfs after binding dev, sys and proc to the directories on the hard drive and chrooting into it. Anyway, thanks Khaled and pehrs for your replies. Taking out the broken hard drive sped up the booting process as well. Also, now from the hard drive, it boots in 25 ...


1

I recently migrated a NAS from an old dying FreeBSD box to a Synology, and I found rsync to be the thing. The Synology one have it, you just have to check the other one, log on one, and : rsync -av /directory/where/files/are synology:/directory/where/files/will/be where synology is the hostname of your synology nas.


1

"Really low overhead" is a non-requirement for a database server. As you will be using lots and lots of ram, you don't really care if the OS uses a few megs more (particularly as the page tables for reasonable sized memory typically take up loads more than your kernel on x86 architecture) Use Centos, you know it will work. Ubuntu or Gentoo other hippy ...


1

We use CentOs 5.x on our PE1950III's and other vintage Dells. You can do a pretty stripped down install if you need to. The nice thing about CentOs is it is essentially RedHat Enterprise. So, if RHEL can run it, CentOS can run it. Any documents or HowTos that refer to RHEL, are equally applicable to CentOS. We are running 6+ instances of MySQL 5.1, without ...


1

I start all my Linux servers out with the Ubuntu minimal CD: https://help.ubuntu.com/community/Installation/MinimalCD I'd recommend this over Damn Small if you are actually installing the OS to the hard drive. The minimal will install almost nothing by default, after install just apt-get install mysql-server. If you want even less "stuff", apt-get ...


1

From the info above, I would say 'No'. Given the cost of the Fortigate box, and the ADSL box (pretty expensive, dirt cheap) wouldn't it make more sense to buy a new ADLS modem that suits? The way we ran our office was with a Fortigate box. Well, multiple offices, multiple boxes, globally to build a large WAN through permanent VPNs between sites. The ...


1

It turns out that 'nash' does a lot of "stuff" under the covers, while with the 'busybox' all-in-1 you have to do most the hard work yourself. In my case we have a CUSTOM Centos-5 kernel that must boot into a diskless (root-on-nfs) environment, as well as on disk-based systems with Sata, SAS, MPT raid controllers, Megaraid*, ... attached disks. The kernel ...


1

Busybox seems to be more versatile. I have used it before for the initrd. You can choose to compile in only a few apps or a tonne of them depending on how much functionality you needed during the initial boot stage. This allows you to customise a lot of things during the boot stage.


1

Starting investigations on the topic I discovered with strace that changing the broadcast address with ifconfig leads to a supplementary ioctl() call (SIOCSIFBRDADDR - Set InterFace BRoadcast ADDRess) that doesn't appear in the normal trace when you leave out the broadcast parameter. So it looks like that ifconfig doesn't deal with the broadcast address in ...



Only top voted, non community-wiki answers of a minimum length are eligible