Usage: cat [FILE] Community Bot 1. Caleb Caleb I'm using busybox in a embedded system. If I type cat --version on it, it shows cat: unrecognized option '--version'.
I also tried with ls --version with the same result ls: unrecognized option '--version' — The Student. Tom, actually Gilles has the right answer here, it's in the header of anything you run, so running the busybox binary directly makes the most sense.
Mine only works for the same reason and throws an error besides. I'll correct it. Tom: I fixed my answer, use --help instead of --version : — Caleb.
Does it not report the version when you connect, i. Since it hasn't been mentioned, sh --help also works. Jim Fell Jim Fell 2 2 silver badges 8 8 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. You can check the version on any system running busybox by running any of the commands with the --help flag to see usage.
The first line of the usage calls includes a note about the busybox version:. If you are not running busybox but have it installed on your system, you can check by instantiating one of the utilities like so:. Edit: As Gilles notes you can also call the busybox binary without a command and get the same header. I find myself using it surprisingly often. When dealing with a machine which seems to be sluggish, it takes some time to pinpoint the cause.
It can be lack of free memory. It can be excessive CPU load. It can be misbehaving slow storage or network. This lets you see the time evolution as well. Here is an example:. More specifiers exist - please read "nmeter --help" output. Sometimes you can literally see every network packet arriving. As you see, each update takes about 0. You can run even -d1, if you want.
On the other hand, with large update interval, you can run this tool continuously on a server machine and save its output, to be able to investigate mysterious drops in performance at a time when there was no operator present.
If you have an oopsing server, it is useful to have another nmeter instance's output to be constantly printed to its console, if you want to see what was going on just before oops. Changes since previous release: Aaro Koskinen 3 : gzip: add support for compression levels diff: fix -B with single line changes diff. Thompson 1 : iproute: don't hardcode the path to config files Clayton Shotwell 1 : applets: add installation of individual binaries Daniel Thompson 1 : libbb: enable support for!
Logic is unchanged ash: simplify "you have mail" code hush: add recent ash tests to hush testsuite too they all pass for hush hush: document buggy handling of duplicate "local" hush: fix a nommu bug where a part of function body is lost if run in a pipe hush: fix umask: umask was setting umask awk: support "length" form of "length ". Closes dpkg: update supported compression methods find: support "find.
Closes ping: fix recently introduced build breakage for non-optimizing builds ps: fix SEGV on narrow screens.
Felix Fietkau 1 : find: fix regression in status processing for path arguments Frank Bergmann 1 : ifupdown: correct ifstate update during 'ifup -a'. Z files as well bzcat. Closes less: accept and ignore -s less: disable "suppress empty wraparound" optimization less: fix bugs discovered with "git log -p less -m" on kernel tree less: move "retry-on-EAGAIN" logic closer to read ops libarchive: add capability to unpack to mem.
Suggested by Tito. Closes syslogd: make "-O -" log to stdout tar: fix "tar -cJ" ignoring -J option. Closes tar: tighten up pax header validity check taskset: fix logic error in "if it doesn't start with 0x Closes udhcpc: account for script run time udhcpc: don't use BPF filter, users report problems bugs , udhcpc: fix BPF filter.
Hopefully fixes the root cause of and udhcpc: ignore NAKs from "wrong" servers. Closes udhcpc: in comments, explain the kind of raw socket we create udhcpc: make hostname sanitization optional.
Closes udhcpd: if a lease from lease file coincides with a static one, ignore it vi: clear undo buffer when we change to another file vi: fix incorrect memory access on brace matching.
0コメント