If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:cmdline
BoxMatrix >> System >> cmdline | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Devices | Filesystems | Partitions | Sockets | Netlink | Pipes | Interfaces | Bridges | Ports | Events | Sources | Sinks | AVMIPC | Processes | Watchdogs | Memory | Slab | Vmalloc | ProcFS | SysFS | Research |
Procfs-Object
Procfs-Object: | cmdline - type File | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | System >> Proc-Filesystem - Origin: Linux | ||||||
Path: | /proc, /proc/1 | ||||||
Properties: | Firmware: 4.07 - 7.90 - Kernel (perm): 2.4.17 (r), 2.6.13.1 (r), 2.6.28.10 (r), 2.6.32.21 (r), 2.6.32.60 (r), 2.6.32.61 (r), 2.6.39.4 (r), 3.10.107 (r), 3.10.73 (r), 4.1.38 (r), 4.1.52 (r), 4.19.183 (r), 4.4.271 (r), 4.4.60 (r), 4.9.198 (r), 4.9.218 (r), 4.9.250 (r), 4.9.325 (r) | ||||||
Function: | Kernel or process command line. |
Goto: Kernel - Process - Examples - Dependencies - Model-Matrix - Help Supportdata2 - SMW-Browser
Details
cmdline contains the Kernel or the process command line.
This is an "in-section" name collision covering 2 completely different files: - (this will be splitted one day)
Kernel
/proc/cmdline
contains the arguments the Bootloader passes to the Kernel.
This is a printable space delimited single line string, which consists of keywords
or assignments.
In FRITZ!OS it is passed to the Kernel by ADAM2 or EVA.
This file is used in many places in FRITZ!OS, see the kernel_args article.
Excerpt from the proc(5) man page:
/proc/cmdline Arguments passed to the Linux kernel at boot time. Often done via a boot manager such as lilo(8) or grub(8).
Process
/proc/<pid>/cmdline
contains the arguments which are passed to the exe of a process.
This is an array of zero terminated strings or a zero size content.
Excerpt from the proc(5) man page:
/proc/[pid]/cmdline This read-only file holds the complete command line for the process, unless the process is a zombie. In the latter case, there is nothing in this file: that is, a read on this file will return 0 characters. The command- line arguments appear in this file as a set of strings separated by null bytes ('\0'), with a further null byte after the last string. If, after an execve(2), the process modifies its argv strings, those changes will show up here. This is not the same thing as modifying the argv array. Furthermore, a process may change the memory location that this file refers via prctl(2) operations such as PR_SET_MM_ARG_START. Think of this file as the command line that the process wants you to see.
Examples
init, cat and ls are symlinks to busybox. The exe just knows the binary, cmdline knows the symlink.
7530 fw 7.29 examples:
root@fritz1:/var/mod/root# cat /proc/cmdline clk_ignore_unused audit=1 slub_debug=FL root@fritz1:/var/mod/root# cat /proc/1/cmdline | tr '\000' ' ' && echo init root@fritz1:/var/mod/root# ls -l /proc/1/exe lrwxrwxrwx 1 root root 0 Nov 22 02:53 /proc/1/exe -> /bin/busybox root@fritz1:/var/mod/root# cat /proc/self/cmdline | tr '\000' ' ' && echo cat /proc/self/cmdline root@fritz1:/var/mod/root# ls -l /proc/self/exe lrwxrwxrwx 1 root root 0 Nov 23 17:43 /proc/self/exe -> /bin/busybox
3050 fw 4.07 examples:
# cat /proc/cmdline # cat /proc/1/cmdline | tr '\000' ' ' && echo init # ls -l /proc/1/exe lrwxrwxrwx 1 root root 0 Sep 11 08:57 /proc/1/exe -> /bin/busybox # cat /proc/self/cmdline | tr '\000' ' ' && echo cat /proc/self/cmdline # ls -l /proc/self/exe lrwxrwxrwx 1 root root 0 Sep 11 09:00 /proc/self/exe -> /bin/busybox
Dependencies
Daily updated index of all dependencies of this object. Last update: GMT.
A **
in the Mod
column marks info from Supportdata2 probes, which will always stay incomplete.
A -
in the Mod
column marks manual research, the Firmware
then shows where the Object
occurs, not the Relation
.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
0 dependencies for this object |
Model-Matrix
Daily updated index of the presence, path and size of this object for each model. Last update: 2024-12-26 05:08 GMT.
Showing all models using this object. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list comes from Supportdata2 probes, which can have arbitrary settings and come from different firmware versions.
It doesn't say much if a model is not listed here. It may be a missing supportdata2 file or just a disabled feature.
Model | Firmware | Path | Kernel (perm) |
---|---|---|---|
FRITZ!Box SL WLAN | 4.34 | /proc, /proc/1 | 2.6.13.1 (r) |
FRITZ!Box WLAN 3020 | 4.34 | /proc, /proc/1 | 2.6.13.1 (r) |
FRITZ!Box WLAN 3050 | 4.07 | /proc, /proc/1 | 2.4.17 (r) |
FRITZ!Box WLAN 3070 | 4.15 | /proc, /proc/1 | 2.4.17 (r) |
FRITZ!Box 3490 | 7.30 | /proc, /proc/1 | 3.10.107 (r) |
FRITZ!Box 4020 | 7.01 | /proc, /proc/1 | 4.4.60 (r) |
FRITZ!Box 4060 | 7.30 - 7.39 | /proc, /proc/1 | 4.4.271 (r), 4.4.60 (r) |
FRITZ!Box 5490 | 7.29 | /proc, /proc/1 | 3.10.107 (r) |
FRITZ!Box 5590 Fiber (main) | 7.29 | /proc, /proc/1 | 4.4.60 (r) |
FRITZ!Box 6360 Cable | 5.20 | /proc, /proc/1 | 2.6.28.10 (r) |
FRITZ!Box 6430 Cable (arm) | 7.29 | /proc, /proc/1 | 2.6.39.4 (r) |
FRITZ!Box 6430 Cable (atom) | 7.29 | /proc, /proc/1 | 2.6.39.4 (r) |
FRITZ!Box 6490 Cable (arm) | 7.29 - 7.39 | /proc, /proc/1 | 2.6.39.4 (r) |
FRITZ!Box 6490 Cable (atom) | 7.29 - 7.39 | /proc, /proc/1 | 2.6.39.4 (r) |
FRITZ!Box 6660 Cable (atom) | 7.29 | /proc, /proc/1 | 4.9.250 (r) |
FRITZ!Box 6850 LTE | 7.39 | /proc, /proc/1 | 4.4.60 (r) |
FRITZ!Box 6850 5G | 7.39 | /proc, /proc/1 | 4.4.60 (r) |
FRITZ!Box Fon WLAN 7050 | 4.33 | /proc, /proc/1 | 2.6.13.1 (r) |
FRITZ!Box Fon WLAN 7140 | 4.33 | /proc, /proc/1 | 2.6.13.1 (r) |
FRITZ!Fon 7150 | 4.72 | /proc, /proc/1 | 2.6.13.1 (r) |
FRITZ!Box Fon WLAN 7240 | 6.06 | /proc, /proc/1 | 2.6.32.60 (r) |
FRITZ!Box 7272 | 6.88 | /proc, /proc/1 | 2.6.32.61 (r) |
FRITZ!Box Fon WLAN 7320 | 6.55 | /proc, /proc/1 | 2.6.32.61 (r) |
FRITZ!Box 7362 SL | 7.12 | /proc, /proc/1 | 3.10.107 (r) |
FRITZ!Box Fon WLAN 7390 | 6.04 | /proc, /proc/1 | 2.6.28.10 (r) |
FRITZ!Box 7412 | 6.87 | /proc, /proc/1 | 3.10.73 (r) |
FRITZ!Box 7430 | 7.29 | /proc, /proc/1 | 3.10.107 (r) |
FRITZ!Box 7490 | 7.29 - 7.51 | /proc, /proc/1 | 3.10.107 (r) |
FRITZ!Box 7510 | 7.30 | /proc, /proc/1 | 4.4.60 (r) |
FRITZ!Box 7520 | 7.29 - 7.50 | /proc, /proc/1 | 4.4.271 (r), 4.4.60 (r) |
FRITZ!Box 7520 v2 | 7.31 | /proc, /proc/1 | 4.4.60 (r) |
FRITZ!Box 7530 | 7.39 | /proc, /proc/1 | 4.4.271 (r) |
FRITZ!Box 7530 AX | 7.31 - 7.51 | /proc, /proc/1 | 4.1.52 (r), 4.19.183 (r) |
FRITZ!Box 7581 | 7.17 | /proc, /proc/1 | 4.1.38 (r) |
FRITZ!Box 7590 | 7.57 - 7.90 | /proc, /proc/1 | 4.9.325 (r) |
FRITZ!Box 7590 AX | 7.31 - 7.39 | /proc, /proc/1 | 4.9.198 (r), 4.9.218 (r) |
FRITZ!Smart Gateway | 7.57 - 7.58 | /proc, /proc/1 | 4.4.271 (r) |
FRITZ!Repeater 1200 AX | 7.30 - 7.39 | /proc, /proc/1 | 4.4.60 (r) |
FRITZ!WLAN Repeater 1750E | 7.29 | /proc, /proc/1 | 4.4.60 (r) |
FRITZ!Repeater 6000 | 7.29 - 7.39 | /proc, /proc/1 | 4.4.60 (r) |
Speedport W 504V MK | 5.04 | /proc, /proc/1 | 2.6.32.21 (r) |
41 models use this object |
Help Supportdata2
The data in this article is incomplete since it was manually collected using the Supportdata2 project.
Unlike the Supportdata-Probes which have been collected for years Supportdata2 is brand new and only has a few probes.
If you have access to a shell then please help to extend the Supportdata2 collection to improve this data.
It's easy and it's done in minutes. Please send created data as an Email attachment to the address listed here. Thanks!