Fuchsia操作系统workstation系统

2023-12-19 10:32

本文主要是介绍Fuchsia操作系统workstation系统,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

 

在fuchsia编译完成之后,使用fx run可在qemu上运行。以下大致看一下它的目录结构。首先是顶层目录,如下,fuchsia没有传统的linux系统的usr、home、proc之类的目录。

$ ls -l /
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 bin
dr--------    1 0        0                 0 Jan 01  1970 blob
dr--------    7 0        0                 0 Jan 01  1970 boot
drw-r--r--    7 0        0              8192 Jun 11 06:27 data
drw-------    1 0        0                 0 Jan 01  1970 dev
dr--------    1 0        0                 0 Jan 01  1970 hub
dr--------    2 0        0                 0 Jan 01  1970 install
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 pkgfs
dr--------    1 0        0                 0 Jan 01  1970 svc
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 system
dr--------    3 0        0                 0 Jun 11 06:27 tmp
dr--------    2 0        0                 0 Jan 01  1970 volume

由以下export命令可知,其可执行目录由两个/bin和/boot/bin目录。

$ export
export PATH='/bin:/boot/bin'
export PWD='/'
export TERM='xterm'

 

如下为/bin目录内容(内容有省略):

$ ls -l /bin
-r--------    1 0        0                62 Jan 01  1970 amber_ctl
-r--------    1 0        0                61 Jan 01  1970 amberctl
-r--------    1 0        0                74 Jan 01  1970 basemgr_launcher
-r--------    1 0        0                58 Jan 01  1970 basename
-r--------    1 0        0                48 Jan 01  1970 cat
-r--------    1 0        0                46 Jan 01  1970 cp
-r--------    1 0        0                50 Jan 01  1970 curl
-r--------    1 0        0                48 Jan 01  1970 cut
-r--------    1 0        0                50 Jan 01  1970 date
-r--------    1 0        0                64 Jan 01  1970 debugserver
-r--------    1 0        0                56 Jan 01  1970 dirname
-r--------    1 0        0                46 Jan 01  1970 du

 

fuchsia的boot目录如下:

$ ls -l boot
dr--------    2 0        0                 0 Jan 01  1970 bin
dr--------    2 0        0                 0 Jan 01  1970 config
dr--------    3 0        0                 0 Jan 01  1970 data
dr--------    3 0        0                 0 Jan 01  1970 driver
dr--------    4 0        0                 0 Jan 01  1970 kernel
dr--------    2 0        0                 0 Jan 01  1970 lib

可执行目录/boot/bin内容如下(内容有省略):

$ ls -l boot/bin
-r--------    1 0        0              9640 Jan 01  1970 channel-perf
-r--------    1 0        0             38376 Jan 01  1970 clkctl
-r--------    1 0        0             38392 Jan 01  1970 clock
-r--------    1 0        0          10552992 Jan 01  1970 component_manager
-r--------    1 0        0            311976 Jan 01  1970 devcoordinator
-r--------    1 0        0              5472 Jan 01  1970 devhost
-r--------    1 0        0             30304 Jan 01  1970 df
-r--------    1 0        0            132904 Jan 01  1970 disk-inspect
-r--------    1 0        0             63032 Jan 01  1970 iochk
-r--------    1 0        0             42464 Jan 01  1970 iotime
-r--------    1 0        0             30264 Jan 01  1970 kstats
-r--------    1 0        0             54904 Jan 01  1970 lsblk

 

目录/boot/driver存放有设备驱动程序的.so共享库文件(内容有省略):

$ ls -l /boot/driver
-r--------    1 0        0             34728 Jan 01  1970 ahci.so
-r--------    1 0        0             87888 Jan 01  1970 block.core.so
-r--------    1 0        0             30744 Jan 01  1970 bt-hci-broadcom.so
-r--------    1 0        0             43072 Jan 01  1970 console.so
-r--------    1 0        0             38784 Jan 01  1970 dmctl.so
-r--------    1 0        0            268368 Jan 01  1970 e1000.so
-r--------    1 0        0             75752 Jan 01  1970 ethernet.so
-r--------    1 0        0            215000 Jan 01  1970 ftdi.so
-r--------    1 0        0             88048 Jan 01  1970 goldfish.so
-r--------    1 0        0             46992 Jan 01  1970 gpio-light.so
-r--------    1 0        0             43264 Jan 01  1970 i2c-hid.so
-r--------    1 0        0             10032 Jan 01  1970 intel-serialio.so
-r--------    1 0        0             38912 Jan 01  1970 ktrace.so
-r--------    1 0        0             10240 Jan 01  1970 qemu.so
-r--------    1 0        0             51120 Jan 01  1970 ram-nand.so
-r--------    1 0        0             63352 Jan 01  1970 ramdisk.so
-r--------    1 0        0             22392 Jan 01  1970 tpm.so
-r--------    1 0        0            174000 Jan 01  1970 uart16550.so
-r--------    1 0        0            186784 Jan 01  1970 virtio.so
-r--------    1 0        0            133032 Jan 01  1970 xhci.so

 

目录/boot/lib存放通用的共享库文件:

$ ls -l /boot/lib
-r--------    1 0        0            686568 Jan 01  1970 ld.so.1
-r--------    1 0        0              5464 Jan 01  1970 libasync-default.so
-r--------    1 0        0             34208 Jan 01  1970 libbacktrace.so
-r--------    1 0        0             87872 Jan 01  1970 libblktest.so
-r--------    1 0        0            881360 Jan 01  1970 libc++.so.2
-r--------    1 0        0            247840 Jan 01  1970 libc++abi.so.1
-r--------    1 0        0             13808 Jan 01  1970 libdevmgr-launcher.so
-r--------    1 0        0            239728 Jan 01  1970 libdriver.so
-r--------    1 0        0             18216 Jan 01  1970 libfake-bti.so
-r--------    1 0        0            285984 Jan 01  1970 libfdio.so
-r--------    1 0        0             91944 Jan 01  1970 libfs-management.so

 

fuchsia的设备文件与linux系统类似,存放在/dev目录下,但是组织方式不同。其顶层目录如下:

$ ls -l dev/
drw-------    1 0        0                 0 Jan 01  1970 class
drw-------    1 0        0                 0 Jan 01  1970 misc
crw-------    1 0        0           0,    0 Jan 01  1970 null
drw-------    1 0        0                 0 Jan 01  1970 sys
drw-------    1 0        0                 0 Jan 01  1970 test
crw-------    1 0        0           0,    0 Jan 01  1970 zero

目录/dev/class保存安装类别的设备节点文件:

$ ls -l dev/class/
drw-------    1 0        0                 0 Jan 01  1970 acpi
drw-------    1 0        0                 0 Jan 01  1970 block
drw-------    1 0        0                 0 Jan 01  1970 block-impl
drw-------    1 0        0                 0 Jan 01  1970 display-controller
drw-------    1 0        0                 0 Jan 01  1970 hidbus
drw-------    1 0        0                 0 Jan 01  1970 input
drw-------    1 0        0                 0 Jan 01  1970 pci
drw-------    1 0        0                 0 Jan 01  1970 platform-bus
drw-------    1 0        0                 0 Jan 01  1970 platform-dev
drw-------    1 0        0                 0 Jan 01  1970 rtc
drw-------    1 0        0                 0 Jan 01  1970 serial
drw-------    1 0        0                 0 Jan 01  1970 sysmem

目录/dev/misc目录下的文件与linux系统的/proc/misc文件的内容相似,为特殊的字符型设备节点。

$ ls -l dev/misc/
crw-------    1 0        0           0,    0 Jan 01  1970 console
crw-------    1 0        0           0,    0 Jan 01  1970 demo-fifo
crw-------    1 0        0           0,    0 Jan 01  1970 dmctl
crw-------    1 0        0           0,    0 Jan 01  1970 ktrace
crw-------    1 0        0           0,    0 Jan 01  1970 nand-ctl
crw-------    1 0        0           0,    0 Jan 01  1970 ptmx
crw-------    1 0        0           0,    0 Jan 01  1970 ramctl
crw-------    1 0        0           0,    0 Jan 01  1970 sysinfo
crw-------    1 0        0           0,    0 Jan 01  1970 tapctl

 

hub/svc目录:

$ ls -l hub/svc
----------    1 0        0                 0 Jan 01  1970 fuchsia.device.manager.Administrator
----------    1 0        0                 0 Jan 01  1970 fuchsia.device.manager.DebugDumper
----------    1 0        0                 0 Jan 01  1970 fuchsia.kernel.DebugBroker
----------    1 0        0                 0 Jan 01  1970 fuchsia.process.Launcher
----------    1 0        0                 0 Jan 01  1970 fuchsia.process.Resolver
----------    1 0        0                 0 Jan 01  1970 fuchsia.scheduler.ProfileProvider
----------    1 0        0                 0 Jan 01  1970 fuchsia.sys.Environment
----------    1 0        0                 0 Jan 01  1970 fuchsia.sys.Launcher
----------    1 0        0                 0 Jan 01  1970 fuchsia.sys.Loader
----------    1 0        0                 0 Jan 01  1970 fuchsia.sys.test.CacheControl
----------    1 0        0                 0 Jan 01  1970 fuchsia.virtualconsole.SessionManager

 

pkgfs/packages目录,内容有删减:

$ ls -l  pkgfs/packages/
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 account_handler
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 account_manager
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 amber
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 amber_tools
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 auto_login_base_shell
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 basemgr
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 bluetooth_settings
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 bt-a2dp-sink
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 bt-gap
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 bt-init
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 bt-snoop
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 build-info
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 chromium
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 cobalt

 


目录svc下为fuchsia的服务:

$ ls -l svc
----------    1 0        0                 0 Jan 01  1970 fuchsia.amber.Control
----------    1 0        0                 0 Jan 01  1970 fuchsia.boot.Items
----------    1 0        0                 0 Jan 01  1970 fuchsia.cobalt.LoggerFactory
----------    1 0        0                 0 Jan 01  1970 fuchsia.device.manager.Administrator
----------    1 0        0                 0 Jan 01  1970 fuchsia.device.manager.DebugDumper
----------    1 0        0                 0 Jan 01  1970 fuchsia.devicesettings.DeviceSettingsManager
----------    1 0        0                 0 Jan 01  1970 fuchsia.fshost.Filesystems
----------    1 0        0                 0 Jan 01  1970 fuchsia.fshost.Registry
----------    1 0        0                 0 Jan 01  1970 fuchsia.kernel.DebugBroker
----------    1 0        0                 0 Jan 01  1970 fuchsia.kernel.MexecBroker
----------    1 0        0                 0 Jan 01  1970 fuchsia.logger.Log
----------    1 0        0                 0 Jan 01  1970 fuchsia.logger.LogSink
----------    1 0        0                 0 Jan 01  1970 fuchsia.net.SocketProvider
----------    1 0        0                 0 Jan 01  1970 fuchsia.net.stack.Stack
----------    1 0        0                 0 Jan 01  1970 fuchsia.netstack.Netstack
----------    1 0        0                 0 Jan 01  1970 fuchsia.paver.Paver
----------    1 0        0                 0 Jan 01  1970 fuchsia.pkg.PackageResolver
----------    1 0        0                 0 Jan 01  1970 fuchsia.pkg.RepositoryManager
----------    1 0        0                 0 Jan 01  1970 fuchsia.pkg.rewrite.Engine
----------    1 0        0                 0 Jan 01  1970 fuchsia.process.Launcher
----------    1 0        0                 0 Jan 01  1970 fuchsia.process.Resolver
----------    1 0        0                 0 Jan 01  1970 fuchsia.scheduler.ProfileProvider
----------    1 0        0                 0 Jan 01  1970 fuchsia.sys.Environment
----------    1 0        0                 0 Jan 01  1970 fuchsia.sys.Launcher
----------    1 0        0                 0 Jan 01  1970 fuchsia.sysmem.Allocator
----------    1 0        0                 0 Jan 01  1970 fuchsia.tracelink.Registry
----------    1 0        0                 0 Jan 01  1970 fuchsia.tracing.controller.Controller
----------    1 0        0                 0 Jan 01  1970 fuchsia.tracing.provider.Registry
----------    1 0        0                 0 Jan 01  1970 fuchsia.virtualconsole.SessionManager
----------    1 0        0                 0 Jan 01  1970 fuchsia.wlan.service.Wlan

 

目录system的子目录如下:

$ ls -l system/
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 bin
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 data
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 driver
drwxr-xr-x    1 0        0                 0 Jul 21 23:33 lib
drwxr-xr-x    1 0        0                 4 Jul 21 23:33 meta

其中/system/driver子目录,是除去/boot/driver目录之后,又一个保存驱动程序共享库文件的地方。如以下保存的WIFI、蓝牙和usb等的驱动。

$ ls -l system/driver
-r--------    1 0        0            506624 Jan 01  1970 ath10k.so
-r--------    1 0        0           1006312 Jan 01  1970 brcmfmac.so
-r--------    1 0        0           3926744 Jan 01  1970 bt-hci-atheros.so
-r--------    1 0        0           1877240 Jan 01  1970 bt-hci-fake.so
-r--------    1 0        0           3934728 Jan 01  1970 bt-hci-intel.so
-r--------    1 0        0            170008 Jan 01  1970 bt-hci-passthrough.so
-r--------    1 0        0            170216 Jan 01  1970 bt-hog.so
-r--------    1 0        0           4700840 Jan 01  1970 bt-host.so
-r--------    1 0        0            227512 Jan 01  1970 iwlwifi.so
-r--------    1 0        0           1285640 Jan 01  1970 libmsd_intel.so
-r--------    1 0        0           1396952 Jan 01  1970 qmi-transport.so
-r--------    1 0        0           8931648 Jan 01  1970 ralink.so
-r--------    1 0        0           1187624 Jan 01  1970 rtl88xx.so
-r--------    1 0        0           1617856 Jan 01  1970 usb_video.so
-r--------    1 0        0           1170680 Jan 01  1970 virtual_audio_driver.so
-r--------    1 0        0           2166976 Jan 01  1970 virtual_camera_driver.so
-r--------    1 0        0           9074816 Jan 01  1970 wlan.so
-r--------    1 0        0           1306640 Jan 01  1970 wlanif.so
-r--------    1 0        0           1790168 Jan 01  1970 wlanphy.so

 

进程相关命令

TOP命令:

$ topPID      TID      TIME% STATE NAME6643     6843       1.01 block netstack.cmx:pthread_t:0x41b935fa9b384234    22994       0.89 block pkgfs:pthread_t:0x7ae077b0ab386643    10455       0.80 block netstack.cmx:pthread_t:0x675d0877eb388348     8366       0.56 block mdns.cmx:initial-thread4234     4433       0.43 block pkgfs:pthread_t:0x3d5329c70b383376     4648       0.41 block devhost:pci#2:8086:2922:thrd_t:0x3bb5e4fcb38/TLS=0x56821046    21058       0.37 block http.cmx:initial-thread8809     8822       0.35 block cobalt_system_metrics.cmx:initial-thread10212    10364       0.25 block device_settings_manager.cmx:pthread_t:0x6c87051bab384234     4256       0.25 block pkgfs:initial-thread3376     3393       0.19 block devhost:pci#2:8086:2922:initial-thread6643     6858       0.13 block netstack.cmx:pthread_t:0x144c6b025b384234     4443       0.10 block pkgfs:pthread_t:0x3a0494368b386643     6897       0.07 block netstack.cmx:pthread_t:0x42db8ef5ab386643     9826       0.03 block netstack.cmx:pthread_t:0x3bccab40db383376     4099       0.03 block devhost:pci#2:8086:2922:thrd_t:0x4715293db38/TLS=0x5683376     3798       0.02 block devhost:pci#2:8086:2922:ahci-irq1122     1137       0.02 block bin/devcoordinator:initial-thread1048     1051       0.02 block bin/bootsvc:bin/bootsvc3376     3817       0.02 block devhost:pci#2:8086:2922:ahci-watchdog2694     3076       0.01   run devhost:misc:debug-reader10212    10369       0.00 block device_settings_manager.cmx:pthread_t:0x1fc051f61b38

 

PS进程查看:

$ ps
TASK                  PSS PRIVATE  SHARED   STATE NAME
j:1031             371.7M  371.7M                 rootp:1048           372.6k    372k     32k         bin/bootsvcp:1122           492.6k    492k     32k         bin/devcoordinatorj:1197          6348.1k   6344k                 zircon-driversp:2498         772.6k    772k     32k         devhost:sysp:2542         408.6k    408k     32k         devhost:testp:2604         264.6k    264k     32k         devhost:rootp:2685         428.6k    428k     32k         devhost:miscp:3331         396.6k    396k     32k         devhost:pci#1:1234:1111p:3395        2136.6k   2136k     32k         devhost:pci#2:8086:2922p:3488        1940.6k   1940k     32k         devhost:pci#4:8086:2922j:1202           300.8M  300.8M                 zircon-servicesp:1223         420.6k    420k     32k         svchostp:1342         448.6k    448k     32k         fshostp:1539         224.6k    224k     32k         pwrbtn-monitorp:1560         304.6k    304k     32k         miscsvcp:1634         268.6k    268k     32k         netsvcp:1725        1236.6k   1236k     32k         virtual-consolep:3154         176.6k    176k     32k         sh:consolep:4007         239.2M  239.2M     32k         blobfs:/blobp:4234        9224.6k   9224k     32k         pkgfsp:4558          49.5M   49.5M     32k         minfs:/dataj:25792        164.6k    164k                 p:25835      164.6k    164k     32k         psj:1203            63.9M   63.9M                 fuchsiap:4724        1180.6k   1180k     32k         appmgrj:4889          62.7M   62.7M                 appj:5278       612.6k    612k                 p:5283     612.6k    612k     32k         sysmgr.cmxj:5535        61.6M   61.6M                 sysj:6248    9916.6k   9916k                 p:6255  9916.6k   9916k     32k         netstack.cmxj:6617    5788.6k   5788k                 p:6622  5788.6k   5788k     32k         amber.cmxj:6959     392.6k    392k                 p:6964   392.6k    392k     32k         pkg_resolver.cmxj:7145     648.6k    648k                 p:7150   648.6k    648k     32k         logger.cmx

 

网络相关

ifconfig命令,目前只有一个回环接口。

$ ifconfig
lo      HWaddr  Id:1inet addr:127.0.0.1  Bcast:127.0.0.1  Mask:255.255.255.255inet6 addr: ::1/128 Scope:Linkmetric:100UPRX packets:0TX packets:0RX bytes:0  TX bytes:0

 

ping命令:

$ ping 127.0.0.1
Count: 3, Payload size: 25 bytes, Interval: 1000 ms, Timeout: 1000 ms, Destination: 127.0.0.1
PING 127.0.0.1 (127.0.0.1)
33 bytes from 127.0.0.1 : icmp_seq=1 rtt=17.113 ms
33 bytes from 127.0.0.1 : icmp_seq=2 rtt=1.308 ms
33 bytes from 127.0.0.1 : icmp_seq=3 rtt=1.632 ms
RTT Min/Max/Avg = [ 1.308 / 17.113 / 6.684 ] ms

 


存储相关

$ df -i -h
Filesystem     Inodes      IUsed      IFree IUse%  Path        Device    
?                   0          0          0   0%  /           Unknown; cannot query filesystem
$ $ 
$ lsblk
ID  SIZE TYPE             LABEL                FLAGS  DEVICE
000 720M                                              /dev/sys/pci/00:02.0/ahci/sata0/block
001 304M fuchsia-blob     blobfs                      /dev/sys/pci/00:02.0/ahci/sata0/block/fvm/blobfs-p-1/block
002  56M fuchsia-data     minfs                       /dev/sys/pci/00:02.0/ahci/sata0/block/fvm/minfs-p-2/block

 

memgraph命令:

$ memgraph
[{"id": "kernel/physmem", "type": "kernel", "parent": "", "name": "physmem", "size_bytes": 2146299904},{"id": "kernel/free", "type": "kernel", "parent": "kernel/physmem", "name": "free", "size_bytes": 1637924864},{"id": "kernel/vmo", "type": "kernel", "parent": "kernel/physmem", "name": "vmo", "size_bytes": 458313728},{"id": "kernel/heap", "type": "kernel", "parent": "kernel/physmem", "name": "heap", "size_bytes": 6311936},{"id": "kernel/heap/allocated", "type": "kernel", "parent": "kernel/heap", "name": "heap/allocated", "size_bytes": 5303136},{"id": "kernel/heap/free", "type": "kernel", "parent": "kernel/heap", "name": "heap/free", "size_bytes": 1008800},{"id": "kernel/wired", "type": "kernel", "parent": "kernel/physmem", "name": "wired", "size_bytes": 18890752},{"id": "kernel/mmu", "type": "kernel", "parent": "kernel/physmem", "name": "mmu", "size_bytes": 24838144},{"id": "kernel/other", "type": "kernel", "parent": "kernel/physmem", "name": "other", "size_bytes": 12288},{"id": "j/1031", "type": "j", "koid": 1031, "parent": "kernel/vmo", "name": "root"},{"id": "p/1048", "type": "p", "koid": 1048, "parent": "j/1031", "name": "bin/bootsvc", "private_bytes": 380928, "shared_bytes": ,{"id": "p/1122", "type": "p", "koid": 1122, "parent": "j/1031", "name": "bin/devcoordinator", "private_bytes": 503808, "shared_b,{"id": "j/1197", "type": "j", "koid": 1197, "parent": "j/1031", "name": "zircon-drivers"},{"id": "p/2498", "type": "p", "koid": 2498, "parent": "j/1197", "name": "devhost:sys", "private_bytes": 790528, "shared_bytes": ,{"id": "p/2542", "type": "p", "koid": 2542, "parent": "j/1197", "name": "devhost:test", "private_bytes": 417792, "shared_bytes":,

 

设备管理

$ dm dump
[root]<root> pid=2610 [null] pid=2610 /boot/driver/builtin.so[zero] pid=2610 /boot/driver/builtin.so[misc]<misc> pid=2687 [console] pid=2687 /boot/driver/console.so[demo-fifo] pid=2687 /boot/driver/demo-fifo.so[dmctl] pid=2687 /boot/driver/dmctl.so[tapctl] pid=2687 /boot/driver/ethertap.so[ktrace] pid=2687 /boot/driver/ktrace.so[ptmx] pid=2687 /boot/driver/pty.so[nand-ctl] pid=2687 /boot/driver/ram-nand.so[ramctl] pid=2687 /boot/driver/ramdisk.so[sysinfo] pid=2687 /boot/driver/sysinfo.so[sys]<sys> pid=2498 /boot/driver/platform-bus.so[platform] pid=2498 /boot/driver/platform-bus.so[acpi] pid=2498 /boot/driver/platform-bus-x86.so[acpi-pwrbtn] pid=2498 /boot/driver/platform-bus-x86.so[hid-device-000] pid=2498 /boot/driver/hid.so[rtc] pid=2498 /boot/driver/platform-bus-x86.so

 

统计信息

$ kstats -cm
cpu    load sched (cs ylds pmpts irq_pmpts) excep pagef  sysc ints (hw  tmr tmr_cb) ipi (rs  gen)0   0.00%    139979    0     0      6583      0 78146 291469        0 50641  32261    33931  2031   0.00%    142042    1     0      6274      0 63053 293106        0 54710  37624    34419  2012   0.00%    147912    0     0      5716      0 60059 306568        0 54676  37209    37688  1983   0.00%    143061    0     0      7477      0 68838 306080        0 54697  36202    36352  225
mem total      free      VMOs     kheap     kfree     wired       mmu       ipc     other2046.9M   1562.0M    437.1M      5.1M      1.0M     18.0M     23.7M      0.0M      0.0M 
$ 
$ channel-perf
write/read 10 bytes, 0 handles (0 pre-queued): 197176 iterations/second

 

namespace命令

$ namespace --dump
{ .handle = 0xfa870c2b, type = 0x00000020, .path = '/svc' },
{ .handle = 0xf4970467, type = 0x00010020, .path = '/hub' },
{ .handle = 0xf747772f, type = 0x00020020, .path = '/bin' },
{ .handle = 0xf57700fb, type = 0x00030020, .path = '/dev' },
{ .handle = 0xf50703b3, type = 0x00040020, .path = '/boot' },
{ .handle = 0xf4a7081b, type = 0x00050020, .path = '/data' },
{ .handle = 0xf547773f, type = 0x00060020, .path = '/system' },
{ .handle = 0xf0a71d33, type = 0x00070020, .path = '/install' },
{ .handle = 0xf4971cfb, type = 0x00080020, .path = '/volume' },
{ .handle = 0xfc97089b, type = 0x00090020, .path = '/blob' },
{ .handle = 0xf3977723, type = 0x000a0020, .path = '/pkgfs' },
{ .handle = 0xf5d7772b, type = 0x000b0020, .path = '/tmp' },

 

END

 

这篇关于Fuchsia操作系统workstation系统的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/511852

相关文章

CSS3 最强二维布局系统之Grid 网格布局

《CSS3最强二维布局系统之Grid网格布局》CS3的Grid网格布局是目前最强的二维布局系统,可以同时对列和行进行处理,将网页划分成一个个网格,可以任意组合不同的网格,做出各种各样的布局,本文介... 深入学习 css3 目前最强大的布局系统 Grid 网格布局Grid 网格布局的基本认识Grid 网

在不同系统间迁移Python程序的方法与教程

《在不同系统间迁移Python程序的方法与教程》本文介绍了几种将Windows上编写的Python程序迁移到Linux服务器上的方法,包括使用虚拟环境和依赖冻结、容器化技术(如Docker)、使用An... 目录使用虚拟环境和依赖冻结1. 创建虚拟环境2. 冻结依赖使用容器化技术(如 docker)1. 创

CentOS系统Maven安装教程分享

《CentOS系统Maven安装教程分享》本文介绍了如何在CentOS系统中安装Maven,并提供了一个简单的实际应用案例,安装Maven需要先安装Java和设置环境变量,Maven可以自动管理项目的... 目录准备工作下载并安装Maven常见问题及解决方法实际应用案例总结Maven是一个流行的项目管理工具

C#实现系统信息监控与获取功能

《C#实现系统信息监控与获取功能》在C#开发的众多应用场景中,获取系统信息以及监控用户操作有着广泛的用途,比如在系统性能优化工具中,需要实时读取CPU、GPU资源信息,本文将详细介绍如何使用C#来实现... 目录前言一、C# 监控键盘1. 原理与实现思路2. 代码实现二、读取 CPU、GPU 资源信息1.

在C#中获取端口号与系统信息的高效实践

《在C#中获取端口号与系统信息的高效实践》在现代软件开发中,尤其是系统管理、运维、监控和性能优化等场景中,了解计算机硬件和网络的状态至关重要,C#作为一种广泛应用的编程语言,提供了丰富的API来帮助开... 目录引言1. 获取端口号信息1.1 获取活动的 TCP 和 UDP 连接说明:应用场景:2. 获取硬

JAVA系统中Spring Boot应用程序的配置文件application.yml使用详解

《JAVA系统中SpringBoot应用程序的配置文件application.yml使用详解》:本文主要介绍JAVA系统中SpringBoot应用程序的配置文件application.yml的... 目录文件路径文件内容解释1. Server 配置2. Spring 配置3. Logging 配置4. Ma

2.1/5.1和7.1声道系统有什么区别? 音频声道的专业知识科普

《2.1/5.1和7.1声道系统有什么区别?音频声道的专业知识科普》当设置环绕声系统时,会遇到2.1、5.1、7.1、7.1.2、9.1等数字,当一遍又一遍地看到它们时,可能想知道它们是什... 想要把智能电视自带的音响升级成专业级的家庭影院系统吗?那么你将面临一个重要的选择——使用 2.1、5.1 还是

高效管理你的Linux系统: Debian操作系统常用命令指南

《高效管理你的Linux系统:Debian操作系统常用命令指南》在Debian操作系统中,了解和掌握常用命令对于提高工作效率和系统管理至关重要,本文将详细介绍Debian的常用命令,帮助读者更好地使... Debian是一个流行的linux发行版,它以其稳定性、强大的软件包管理和丰富的社区资源而闻名。在使用

龙蜥操作系统Anolis OS-23.x安装配置图解教程(保姆级)

《龙蜥操作系统AnolisOS-23.x安装配置图解教程(保姆级)》:本文主要介绍了安装和配置AnolisOS23.2系统,包括分区、软件选择、设置root密码、网络配置、主机名设置和禁用SELinux的步骤,详细内容请阅读本文,希望能对你有所帮助... ‌AnolisOS‌是由阿里云推出的开源操作系统,旨

Ubuntu系统怎么安装Warp? 新一代AI 终端神器安装使用方法

《Ubuntu系统怎么安装Warp?新一代AI终端神器安装使用方法》Warp是一款使用Rust开发的现代化AI终端工具,该怎么再Ubuntu系统中安装使用呢?下面我们就来看看详细教程... Warp Terminal 是一款使用 Rust 开发的现代化「AI 终端」工具。最初它只支持 MACOS,但在 20