SMIT ==>> Fast Path

SMIT

e,g:smit install

smit dev

smit tcpip

Application --------------------------------------------Fast Path
-------------------------------------------------------------------------
Software Installation and Maintenance -------------------install
Software License Management -----------------------------licenses
Devices -------------------------------------------------dev
System Storage Management (Physical & Logical Storage) --storage
Security and Users --------------------------------------security
Communications Applications and Services ----------------commo
Print Spooling ------------------------------------------spooler
Problem Determination -----------------------------------problem
Performance and Resource Scheduling----------------------performance
System Environments -------------------------------------system
Processes and Subsystems --------------------------------src

Software Installation and Maintenance
-------------------------------------
Fast path to menu: install

Task -------------------------------------------------Fast Path
-------------------------------------------------------------------------
Install and Update Software ---------------------------install_update
Install Software --------------------------------------install_latest
Update Installed Software to Latest Level (Update All) update_all

Install Software Bundle -------------------------------install_bundle
Update Software by Fix (APAR) -------------------------update_by_fix
Install and Update from ALL Available Software --------install_all

List Software and Related Information -----------------list_software
List Installed Software and Related Information -------list_installed
List Installed Software -------------------------------list_installed_sw
List Applied but Not Committed Software Updates -------list_applied_sw
Show Software Installation History --------------------show_history
Show Fix (APAR) Installation Status -------------------show_apar_stat
List Fileset Requisites -------------------------------list_requisites
List Fileset Dependents -------------------------------list_dependents
List Files Included in a Fileset ----------------------list_files
List Fileset Containing File --------------------------what_fileset
Show Installed License Agreements ---------------------installed_license

List Software on Media and Related Information --------list_media
List Filesets in a Bundle -----------------------------list_bundle
List Software on Installation Media -------------------list_media_sw
List Software Fixes (APARs) on Installation Media -----list_media_fixes
List Supplemental Fileset Information on Installation Media ------------------------------------------------------------------list_media_info
Show License Agreements on Installation Media -------- license_on_media

Software Maintenance and Utilities ----- ----- ----- --maintain_software
Commit Applied Software Updates(Remove Saved Files) - -commit
Reject Applied Software Updates(Use Previous Version) -reject
Remove Installed Software ----- ----- ----- ----- ---- remove
Copy Software to Hard Disk for Future Installation --- bffcreate
Check Software File Sizes After Installation ----- ----check_files
Verify Software Installation and Requisites ----- -----verify_install

System Backup Manager ----- ----- ----- ----- ----- ---backsys
Back Up the System ----- ----- ----- ----- ----- ----- sysbackup
Back Up This System to Tape/File ----- ----- ----- ----mksysb
Create a Generic Backup CD ----- ----- ----- ----- --- mkcdgeneric
List Files in a System Image ----- ----- ----- ----- - lsmksysb
Restore Files in a System Image ----- ----- ----- -----restmksysb

Software License Management
---------------------------
Fast path to menu: licenses

Task ----- ----- ----- ----- ----- ----- --- Fast Path
-------------------------------------------------------------------------
Manage Nodelocked Licenses ----- ----- --- -- --manage_nodelocked
Add Nodelocked License from a File ----- - -- - add_nodelocked_from_file
Add Nodelocked License from the Keyboard - - add_nodelocked_from_keyboard
Delete a Nodelocked License ----- ----- - --- --delete_nodelocked

Manage License Servers and License Databases -- manage_servers
Show Server Characteristics ----- ----- ----- show_server_characteristics
Manage Concurrent Use and Use Once Licenses ----manage_prod_licenses
Manage Vendor Information in License Databases -manage_vendors

Show License Usage on Servers -- -- -- -- -- -- show_server_status
Show License Usage Summary -- -- -- -- -- -- -- show_total_license_usage
Show Licenses Currently Being Used -- -- -- -- show_current_license_usage
Show License Information by Server -- -- -- -- -show_installed_licenses
Show Licenses Held by a Specific User -- -- -- -show_user_license_held

Show License Agreements -- -- -- -- -- -- -- -- show_license_agree
Show Installed License Agreements -- -- -- -- - installed_license
Show License Agreements on Installation Media - license_on_media

Devices
-------
Fast path to menu: dev

Task-- -- -- -- -- -- -- -- -- -- -- -- -- -- Fast Path
-------------------------------------------------------------------------Install/Configure Devices Added After IPL -- -cfgmgr
Printer/Plotter -- -- -- -- -- -- -- -- -- -- printer
TTY -- -- -- -- -- -- -- -- -- -- -- -- -- -- tty
PTY -- -- -- -- -- -- -- -- -- -- -- -- -- -- pty
Console -- -- -- -- -- -- -- -- -- -- -- -- --console
Fixed Disk -- -- -- -- -- -- -- -- -- -- -- --disk
CD ROM Drive -- -- -- -- -- -- -- -- -- -- -- cdrom
Read/Write Optical Drive -- -- -- -- -- -- -- rwopt
Diskette Drive -- -- -- -- -- -- -- -- -- -- -diskette
Tape Drive -- -- -- -- -- -- -- -- -- -- -- --tape
Communication -- -- -- -- -- -- -- -- -- -- --commodev
Graphic Displays -- -- -- -- -- -- -- -- -- --g_display
Graphic Input Devices -- -- -- -- -- -- -- -- input
Low Function Terminal (LFT) -- -- -- -- -- -- lft
SCSI Initiator Device -- -- -- -- -- -- -- -- scsiid
SCSI Adapter -- -- -- -- -- -- -- -- -- -- -- scsia
Asynchronous I/O -- -- -- -- -- -- -- -- -- --aio
Multimedia -- -- -- -- -- -- -- -- -- -- -- --mm
List Devices -- -- -- -- -- -- -- -- -- -- -- lsattr
Configure/Unconfigure Devices -- -- -- -- -- -devcfg
Unconfigure a Device -- -- -- -- -- -- -- -- -devcfg_ucfg
Configure a Defined Device -- -- -- -- -- -- -devcfg_cfg
Install Additional Device Software -- -- -- --devinst
PCI Hot Plug Manager -- -- -- -- -- -- -- -- -devdrpci
Unconfigure a Device -- -- -- -- -- -- -- -- -rmdev
Configure a Defined Device -- -- -- -- -- -- -mkdev
Install/Configure Devices Added After IPL -- -cfgmgr
ISA Adapters devisa

System Storage Management
-------------------------
Fast path to menu: storage

Task -- -- -- -- -- -- -- -- -- -- -- -- -- Fast Path
-------------------------------------------------------------------------
Logical Volume Manager -- -- -- -- -- -- -- lvm
Volume Groups -- -- -- -- -- -- -- -- -- -- vg
List All Volume Groups -- -- -- -- -- -- -- lsvg2
Add a Volume Groups -- -- -- -- -- -- -- -- mkvg
Set Characteristics of a Volume Group -- -- vgsc
List Contents of a Volume Group -- -- -- -- lsvg1
Remove a Volume Group -- -- -- -- -- -- -- -reducevg2
Activate a Volume Group -- -- -- -- -- -- --varyonvg
Deactivate a Volume Group -- -- -- -- -- -- varyoffvg
Import a Volume Group -- -- -- -- -- -- -- -importvg
Export a Volume Group -- -- -- -- -- -- -- -exportvg
Mirror a Volume Group -- -- -- - -- -- -- - mirrorvg
Unmirror a Volume Group -- -- -- - -- -- -- unmirrorvg
Synchronize LVM Mirrors -- -- -- - -- -- -- syncvg
Back Up a Volume Group -- -- -- - -- -- -- -vgbackup
Remake a Volume Group -- -- -- - -- -- -- - restvg
List Files in a Volume Group Backup -- -- --lsbackvg
Restore Files in a Volume Group Backup -- --restsavevg

Logical Volumes -- -- -- - -- -- -- - -- -- lv
List All Logical Volumes by Volume Group -- lsvg
Add a Logical Volume -- -- -- - -- -- -- - -mklv
Set Characteristics of a Logical Volume -- -lvsc
Show Characteristics of a Logical Volume -- lslv
Remove a Logical Volume -- -- -- - -- -- -- rmlv
Copy a Logical Volume -- -- -- - -- -- -- - cplv

Physical Volumes -- -- -- - -- -- -- - -- -- -pv
Add a Disk -- -- -- - -- -- -- - -- -- -- - --makdsk
Change Characteristics of a Physical Volume --chpv
List Contents of a Physical Volume -- -- -- --lspv
Move Contents of a Physical Volume -- -- -- - migratepv

Paging Space pgsp
Add Another Paging Space -- -- -- - -- -- -- --mkps
Change/Show Characteristics of a Paging Space -chps
Remove a Paging Space -- -- -- - -- -- -- - -- rmps
Activate a Paging Space -- -- -- - -- -- -- - -swapon
Deactivate a Paging Space -- -- -- - -- -- -- -swapoff

File Systems -- -- -- - -- -- -- - -- -- -- -fs
List All File Systems -- -- -- - -- -- -- - -lsfs
List All Mounted File Systems -- -- -- - -- -mount
Add/Change/Show/Delete File Systems -- -- -- manfs
Mount a File System -- -- -- - -- -- -- - -- mountfs
Mount a Group of File Systems -- -- -- - -- -mountg
Unmount a File System -- -- -- - -- -- -- - -umountfs
Unmount a Group of File Systems -- -- -- - --umountg
Verify a File System -- -- -- - -- -- -- - - fsck
Backup a File System -- -- -- - -- -- -- - --backfilesys
Restore a File System -- -- -- - -- -- -- - -restfilesys
List Contents of a Backup -- -- -- - -- -- --listtoc

Files & Directories -- -- -- - -- -- -- - -- filemgr
Backup a File or Directory -- -- -- - -- -- -backfile
Restore a File or Directory -- -- -- - -- -- restfile
List Contents of a Backup -- -- -- - -- -- --listtoc

Removable Disk Management -- -- -- - -- -- --rds
List All Mounted File Systems on a Disk -- --lsmntdsk
Unmount File Systems on a Disk -- -- -- - -- umntdsk
Remove a Disk from the Operating System -- --removedsk
Remove a Disk -- -- -- - -- -- -- - -- -- -- rmvdsk1
Open Door -- -- -- - -- -- -- - -- -- -- - --open_door

System Backup Manager -- -- -- - -- -- -- - -backsys
Back Up the System -- -- -- - -- -- -- - -- -sysbackup
List Files in a System Image -- -- -- - -- --lsmksysb
Restore Files in a System Image -- -- -- - --restmksysb

Security & Users
----------------
Fast path to menu: security

Task -- -- -- - -- -- -- - -- -- -- - -- Fast Path
-------------------------------------------------------------------------
Users -- -- -- - -- -- -- - -- -- -- -- -users
Add a User -- -- -- - -- -- -- - -- - -- mkuser
Change a User-s Password -- -- -- - - -- passwd
Change/Show Characteristics of a User -- chuser
Lock/Unlock a User-s Account -- -- -- - -lockuser
Reset User-s Failed Login Count -- -- -- failed_logins
Remove a Use -- -- -- - -- -- -- - -- -- rrmuser
List All Users -- -- -- - -- -- -- - -- -lsuser

Groups -- -- -- - -- -- -- - -- -- -- - -groups
List All Groups -- -- -- - -- -- -- - -- lsgroup
Add a Group -- -- -- - -- -- -- - -- -- -mkgroup
Change/Show Characteristics of a Group --chgroup
Remove a Group -- -- -- - -- -- -- - -- -rmgroup

Passwords -- -- -- - -- -- -- - -- -- -- -- passwords
Change a User-s Password -- -- -- - -- -- --passwd
Change/Show Password Attributes for a User -passwdattrs

Login Controls -- -- -- - -- -- -- - -- - logins
Change/Show Login Attributes for a User --login_user
Change/Show Login Attributes for a Port --login_port

Roles -- -- -- - -- -- -- - -- -- -- - -- roles
Add a Role -- -- -- - -- -- -- - -- -- -- mkrole
Change/Show Characteristics of a Role -- -chrole
Remove a Role -- -- -- - -- -- -- - -- -- rmrole
List All Roles -- -- -- - -- -- -- - -- --lsrole

Communications Applications and Services
----------------------------------------
Fast path to menu: commo

Task -- -- -- - -- -- -- - -- -- -- - -- -- --Fast Path
-------------------------------------------------------------------------
TCP/IP -- -- -- - -- -- -- - -- -- -- -- -- ---tcpip
Minimum Configuration & Startup -- -- -- -- ---mktcpip
Further Configuration -- -- -- - -- - -- -- ---configtcp
Hostname -- -- -- - -- -- -- - -- -- -- -- -- -hostname
Static Routes -- -- -- - -- -- -- - - -- -- ---route
Network Interfaces -- -- -- - -- -- - -- -- - -netinterface
Name Resolution -- -- -- - -- -- -- - -- -- ---namerslv
Client Network Services -- -- -- - -- -- -- ---clientnet
Server Network Services -- -- -- - -- -- -- -- ruser
Manage Print Server -- -- -- - -- -- -- -- -- -server
Select BSD style rc Configuration -- -- -- -- -setbootup_option
Authentication Configuration -- -- -- -- -- -- auth_config

Use DHCP for TCPIP Configuration & Startup -- -usedhcp

IPV6 Configuration -- -- -- - -- -- -- - -- -- configtcp6
IPV6 Static Routes -- -- -- - -- -- -- - -- -- route6
IPV6 Network Interfaces -- -- -- - -- -- -- - -inet6
IPV6 Daemon/Process Configuration -- -- -- - --daemon6

Quality of Service Configuration & Startup -- -configqos
Start Using the QoS Subsystem -- -- -- - -- -- startqos
Stop Using the QoS Subsystem -- -- -- - -- -- -stopqos

NFS -- -- -- - -- -- -- - -- -- -- - -- -- -- -nfs_menus
Configure TCP/IP (If Not Already Configured) --tcpip
Network File System (NFS) -- -- -- - -- -- -- -nfs
Configure NFS on This System -- -- -- - -- -- -nfsconfigure
Add a Directory to Exports List -- -- -- - -- -mknfsexp
Change/Show Attributes of an Exported Directory -- chnfsexp
Remove a Directory from Exports List -- -- -- -rmnfsexp
Add a File System for Mounting -- -- -- - -- --mknfsmnt
Change/Show Attributes of an NFS File System --chnfsmnt
Remove Remove an NFS File System -- -- -- - -- rmnfsmnt

Print Spooling
--------------
Fast path to menu: spooler

Task -- -- -- - -- -- -- - -- -- -- - -- -- --- - - - Fast Path
-------------------------------------------------------------------------
Start a Print Job -- -- -- - -- -- -- - -- ---- - - - qprt
Manage Print Jobs - -- - -- -- -- - -- -- - --- - - - jobs
Cancel a Print Job - -- - -- -- -- - -- -- - -- - - - qcan
Show the Status of Print Jobs - -- - -- -- - -- - - - qchk
Prioritize a Print Job - -- - -- -- -- - --- -- - - - qpri
Hold/Release a Print Job - -- - -- -- -- - ---- - - - qhld
Move a Job Between Print Queues - -- - -- -- -- - - - qmove

Manage Print Queues - -- - -- -- -- - -- -- --- - - - pqmanage
Show Status of Print Queues - -- - -- -- -- --- - - - qstatus
Stop a Print Queue - -- - -- -- -- - -- -- - -- - - - qstop
Start a Print Queue - -- - -- -- -- - -- -- --- - - - qstart
Set the System-s Default Print Queue - -- - --- - - - qdefault

Add a Print Queue - -- - -- -- -- - -- -- -- -- - - - mkpq
Add an Additional Printer to an Existing Print Queue -mkqprt
Change/Show Print Queue Characteristics -- - - - -- - chpq
Remove a Print Queue -- - - - -- - - - -- - - - -- - -rmpq
Manage Print Server server Programming Tools -- - - - pqtools

Problem Determination
---------------------
Fast path to menu: problem

Task -- - - - -- - - - -- - - - -- - - - -- - - - Fast Path
-------------------------------------------------------------------------
Error Log -- - - - -- - - - -- - - - -- - - - -- - -- - error
Generate Error Report -- - - - -- - - - -- - - - -- --- errpt
Change/Show Characteristics of the Error Log -- - - - --errdemon
Clean the Error Log -- - - - -- - - - -- - - - -- - - - errclear

System Dump -- - - - -- - - - -- - - - -- - - - -- - - -dump
Change the Primary Dump Device -- - - - -- - - - -- - - dumpchgp
Change the Secondary Dump Device -- - - - -- - - - -- - dumpchgs
Change the Directory to which Dump is Copied on Boot -- dumpchgd
Copy a System Dump from a Dump Device to a File -- - - -dump_copy_file
Copy a System Dump from a Dump Device to Diskette -- - -dump_copy_dskt
Always Allow System Dump -- - - - -- - - - -- - - - -- -dump_allow
System Dump Compression -- - - - -- - - - -- - - - -- - dump_comprs
Check Dump Resources Utility -- - - - -- - - - -- - - - dump_checkr

Alog -- - - - -- - - - -- - - - -- - - - -- - - - -- - -alog
Show an Alog file -- - - - -- - - - -- - - - -- - - - --alog_show
Change/Show Characteristics of an Alog File -- - - - -- alog_change

Hardware Diagnostics -- - - - -- - - - -- - - - -- - - -diag
Verify Software Installation and Requisites -- - - - -- verify_install

Performance & Resource Scheduling
---------------------------------
Fast path to menu: performance

Task -- - - - -- - - - -- - - - -- - - - -- - Fast Path
-------------------------------------------------------------------------
Resource Status & Monitors -- - - - -- - - - -monitors
Analysis Tools -- - - - -- - - - -- - - - -- -analysis
Resource Controls -- - - - -- - - - -- - - - -controls
Remove a Process kill
Set Initial Priority of a Process -- - - - -- nice
Change Initial Priority of a Process -- - - - renice
Set System Run Level -- - - - -- - - - -- - - telinit

Schedule Jobs -- - - - -- - - - -- - - - -- - at
Power Management -- - - - -- - - - -- - - - --pm
Configure/Unconfigure Power Management -- - - pmConfig
System State Transition from Enable State -- -pmState
Display Power Management -- - - - -- - - - -- pmDisplaySelect
Battery -- - - - -- - - - -- - - - -- - - - --pmBattery

Workload Management -- - - - -- - - - -- - - -wlm
Work on alternate configurations - - - - - - -wlmconfig
Copy a configuration - - - - - - - - - - - - -wlmconfig_copy
Create a configuration - - - - - - - - - - - -wlmconfig_create
Select a configuration - - - - - - - - - - - -wlmconfig_select
Enter configuration description - - - - - - - wlmconfig_enter
Remove a configuration - - - - - - - - - - - -wlmconfig_delete

Work on a set of Subclasses - - - - - - - - - wlmsubclass
Add a class - - - - - - - - - - - - - - - - - wlmaddclass
Change/Show Characteristics of a class - - - -wlmchclass
General characteristics of a class - - - - - -wlmclass_gal
CPU resource management - - - - - - - - - - - wlmclass_cpu
Memory resource management - - - - - - - - - -wlmclass_mem
diskIO resource management - - - - - - - - - -wlmclass_bio

Remove a class - - - - - - - - - - - - - - - -wlmrclass
Class assignment rules - - - - - - - - - - - -wlmrs
Create a new Rule - - - - - - - - - - - - - - crewlmrs
Change/Show Characteristics of a Rule - - - - chgwlmrs

Start/Stop/Update WLM - - - - - - - - - - - - wlmmanage
Start Workload Managementwlmmanage - - - - - -wlmstart
Update Workload Management - - - - - - - - - -wlmupdate
Stop Workload Management - - - - - - - - - - -wlmoff

Assign/Unassign processes to a class/subclass - - wlmassign

System Environments
-------------------
Fast path to menu: system

Task - - - - - - - - - - - - - - - - - - - - - - - -Fast Path
-------------------------------------------------------------------------
Stop the System - - - - - - - - - - - - - - - - - - system
Assign the Console - - - - - - - - - - - - - - - - -chcons
Change/Show Date and Time - - - - - - - - - - - - - chtz_date
Change/Show Date & Time - - - - - - - - - - - - - - date
Change Time Zone Using System Defined Values - - - -chtz
Change Time Zone Using User Inputted Values - - - - chtz_user

Manage Language Environment - - - - - - - - - - - - mlang
Change/Show Primary Language Environment - - - - - -chlang
Add Additional Language Environments - - - - - - - -mle_add_lang
Remove Language Environments - - - - - - - - - - - -mle_rm_lang_hdr
Change/Show Language Hierarchy - - - - - - - - - - -mle_hier_cmd_hdr
Set User Languages - - - - - - - - - - - - - - - - -chlang_user
Change/Show Applications for a Language - - - - - - mle_chapp_menu
Convert System Messages and Flat Files - - - - - - -nu_iconv

Change/Show Characteristics of Operating System - - chgsys
Change/Show Number of Licensed Users - - - - - - - -chlicense
Manage AIX Floating User Licenses for this Server - netls_server
Broadcast Message to all Users - - - - - - - - - - -wall
Manage System Logs - - - - - - - - - - - - - - - - -logs
Change/Show Characteristics of System Dump - - - - -dump

Internet and Documentation Services - - - - - - -web_configure
Change/Show Default Browser - - - - - - - - - - -change_default_browser
Change Documentation and Search Server - - - - - change_doc_search_server
Change/Show Default Documentation Language - - - chdoclang
Web-based System Manager - - - - - - - - - - - - web_based_system_manager

Change System User Interface - - - - - - - - - - dt_config
Change/Show Default Documentation Language - - - chdoclang
Manage Remote Reboot Facility - - - - - - - - - -rrbtty
Manage System Hang Detection - - - - - - - - - - shd

Processes & Subsystems
----------------------
Fast path to menu: src

Task - - - - - - - - - - - - - - - - -Fast Path
-------------------------------------------------------------------------
Processes - - - - - - - - - - - - - - -process
Remove a Process - - - - - - - - - - - kill
Bind a Process to a Processor - - - - -bindproc
Unbind a Process - - - - - - - - - - - unbindproc

Subsystems - - - - - - - - - - - - - - subsys
Query a Subsystem - - - - - - - - - - -qssys
Start a Subsystem - - - - - - - - - - -startssys
Stop a Subsystem - - - - - - - - - - - stopssys
Stop a Single Subsystem - - - - - - - -stopassys
Stop All Subsystems - - - - - - - - - -stopallssys
Refresh a Subsystem - - - - - - - - - -refresh
Trace Subsystem - - - - - - - - - - - -tracessys
Start Trace - - - - - - - - - - - - - -tracessyson
Stop Trace - - - - - - - - - - - - - - tracessysoff

Subservers - - - - - - - - - - - - - - subserver
Query a Subserver - - - - - - - - - - -qserver
Start a Subserver - - - - - - - - - - -startserver
Stop a Subserver - - - - - - - - - - - stopserver
Trace Subserver - - - - - - - - - - - -traceserver
Start Trace - - - - - - - - - - - - - -startserver.trace
Stop Trace - - - - - - - - - - - - - - stopserver.trace

时间: 2024-10-15 16:55:12

SMIT ==>> Fast Path的相关文章

Reading Fast Packet Processing A Survey

COMST 2018 主要内容 这是一篇有关快速包转发的综述,先介绍了包转发的有关基础知识和背景,具体介绍了包转发的主流方法,对这些方法进行了细致详尽的比较,最后介绍了最新的方法和未来的研究方向. 包处理包括Fast Path 和Slow Path,前者用于包转发和包头处理,后者主要用于管理.错误控制.维护. 主要的方法有三种:纯软件.纯硬件.软硬结合. 纯软件方法主要在软件层面(零拷贝.批处理.并行性.用户/内核空间)进行性能优化,性能不足的主要是因为网络协议栈架构的不足. 纯硬件方法性能高但

配置双机

配置/etc/security/limits文件 执行此任务可以在“/etc/security/limits”文件中设置default的各种限制参数. 操作步骤 以root用户登录双机中主节点. 编辑“/etc/security/limits”文件. #vi /etc/security/limits 修改文件中以下内容: default: fsize =-1 core =-1 cpu =-1 data =-1 rss =-1 stack =200000 nofiles =-1 -1表示无限制.

Oracle Study 之--AIX5.3安装Oracle 11gR2

系统环境: 操作系统: AIX5300-09 Oracle:  Oracle 10gR2(64) 对于AIX5.3的版本,如果安装Oracle 11g需要将系统升级到AIX 5300-09的版本,具体升级方法见我的另一博文: http://tiany.blog.51cto.com/513694/1368026 一.安装前准备 1.查看操作系统的版本 [[email protected] /]#oslevel -r 5300-09 2.查看系统硬件信息 [[email protected] /]#

OVS处理upcall过程分析

处理upcall的整体框架是: 1.由函数handle_upcalls()批量处理(in batches)的是由内核传上来的dpif_upcalls,会解析出upcall的类型.这里主要看在内核中匹配流表失败的MISS_UPCALL.处理完成后会得到多个flow_miss. 结构体dpif_upcall代表的是由内核传到用户空间的一个包,包括上传原因,packet data,以及以netlink attr形式存在的键值. struct dpif_upcall { /* All types. */

Python模块动态加载机制

本文和大家分享的主要是python中模块动态加载机制相关内容,一起来看看吧,希望对大家学习python有所帮助. import 指令 来看看 import sys 所产生的指令: co_consts : (0, None) co_names : ('sys',) 0 LOAD_CONST               0 (0) 2 LOAD_CONST               1 (None) 4 IMPORT_NAME              0 (sys) 6 STORE_NAME  

并发包(转) http://blog.csdn.net/he90227/article/details/52788981

1. 各种同步控制工具的使用 1.1 ReentrantLock ReentrantLock感觉上是synchronized的增强版,synchronized的特点是使用简单,一切交给JVM去处理,但是功能上是比较薄弱的.在JDK1.5之前,ReentrantLock的性能要好于synchronized,由于对JVM进行了优化,现在的JDK版本中,两者性能是不相上下的.如果是简单的实现,不要刻意去使用ReentrantLock. 相比于synchronized,ReentrantLock在功能上

无锁多线程编程初步(基础部分)

1.volatile 关于volatile可讲述的部分有很多,不过精简的说这个关键字的功能有两点. a.volatile修饰的变量对如果有修改,会对任意线程可见. b.volatile修饰的变量: 如果是volatile写,那么它可以保证任何在它之前需要完成的读写都会完成,但是它之后的读写不能保证. 如果是volatile度,那么它可以保证后面的普通读写操作不会挪到它前面来执行,但它不能保证它之前的读写不会跑到它后面执行. 2.CAS CAS操作是一种不可靠的原子操作,它的返回值有可能成功,有可

collections

1.计数器(counter) Counter是对字典类型的补充,用于追踪值的出现次数. ps:具备字典的所有功能 + 自己的功能 1 c = Counter('abcdeabcdabcaba') 2 print c 3 输出:Counter({'a': 5, 'b': 4, 'c': 3, 'd': 2, 'e': 1}) ######################################################################## ### Counter ##

Python之路【第二篇】:Python基础(一)

Python之路[第二篇]:Python基础(一) 入门知识拾遗 一.作用域 对于变量的作用域,执行声明并在内存中存在,该变量就可以在下面的代码中使用. 1 2 3 if 1==1:     name = 'wupeiqi' print  name 下面的结论对吗? 外层变量,可以被内层变量使用 内层变量,无法被外层变量使用 二.三元运算 1 result = 值1 if 条件 else 值2 如果条件为真:result = 值1如果条件为假:result = 值2 三.进制 二进制,01 八进