In Android, in addition to starting a program from the interface, you can start the program from the command line, using the command-line tool AM.
Copy Code code as follows:
usage:am [subcommand] [options]
Start an activity:am start [-d]-d:enable debugging
Use the CMD command to manually, automatically start, and disable servicesTIPS: use command line to start the service
You can open the service in cmd in two ways: net, SC, and net. The syntax is as follows:Net start service name start
Click to open the link
To start a service using the command lineUnder CMD There are two ways to open, net and sc,net to open services that are not disabled, and the syntax is:Net start Service name start net start service nameStopping net stop service nameNET stop servic
interval frequency of the time, for example, "0-23/2" means to perform every two hours. The forward slash can also be used with the asterisk, such as */10, which, if used in the minute field, means that it is executed every 10 minutes.
Second, Crond service
Install Crontab:
Yum Install Crontabs
Service Operation Description:
/sbin/service crond Start//boot service
/sbin/service Crond Stop//Off service
/sbin/service crond Restart//Restart servi
operating system due to problem points or adjustments to certain services Then open some service programs and so on. When some services are turned off, it is also necessary to close the database instance as it relates to RAC operations, similar to the first.
CRS Command Usage 1: For CRSCTL start CRS and CRSCTL stop CRS must be root user to execute. Demo of common commands for CRS and related services 1, v
andWorkstation.The following services are only available on Windows 2000: file service for Macintosh, gateway serviceFor NetWare, Microsoft DHCP service, Print ServiceMacintosh, Windows InterneT name service.
Net StartAlerterStart the alarm service. The alarm service sends a warning message.Net StartAlerterNet StartClient Service for NetWareStart "Netware customer service ". This command can be run on wind only when NetWare customer service is instal
Heaven Zhuhai Branch Rudder note : Originally this series is to prepare a book, details please see the earlier blog "to seek partners to write the deep understanding of Monkeyrunner" books. But for many reasons, there is no wish. So the draft is shared here, so mistakes are unavoidable. If necessary, please refer to the following, the forwarding of the word also keep the end of each article source and other information.
After setting the monkey classpath environment variable to specify "/sy
CMD Run instructions
Start → run →cmd→ type the following command:
Gpedit.msc-----Group Policy SNDREC32-------Recorder
Nslookup-------IP Address detectors e xplorer-------Open Explorer
Logoff---------logoff command tsshutdn-------60-second Countdown shutdown command
Lusrmgr.msc----
CMD Run Command
Start → run → CMD → enter the following command:
Gpedit. msc ----- Group Policy sndrec32 ------- Recorder
Nslookup ------- IP address detector e xplorer ------- open the Resource Manager
Logoff --------- logout command tsshutdn ------- 60 seconds countdown shutdown
System services, self-starter programs, processes are the three major elements of the system. In the optimization of the system or security checks, we often have to monitor the system three piece. Although there are many professional software that can manage three piece, for Windows XP users, they can be managed with the components and commands of the system itself.
Use net start command to monitor service
There is a case recently and several installations Program It must be completed in different console windows in order. I tried to write a batch for two days. It seems that my computer's basic knowledge is still weak. I don't know whether the start/Wait command can complete the task.Let's take a look at the built-in instructions: Code :
Start starts a sepa
Start
Start a separate "command prompt" window to run the specified program or command. If no parameter is available, Start opens the second Command Prompt window.
SyntaxStart ["title"] [/dpath] [/I] [/min] [/Max] [{/separate |/s
Label:Chkconfig Chkconfig are often used when operating on the command line. It makes it easy to set up and query system services at different run levels. This can be mastered well, with proficiency, you can easily manage your start-up services. Note: Remember that Chkconfig does not automatically disable or activate a service immediately, it simply changes the symbolic connection. Grammar:
Chkcon
Start
Start a separate command prompt window to run the specified program or command. If used without parameters, start opens the second Command Prompt window.
Grammar
Start ["title"]
To start the mysqld server from the command line, you should start the console window (or DOSwindow) and enter the command: C: ProgramFilesMySQLMySQLServer5.0binmysqld depending on the MySQL installation location in the system, the paths used in the preceding example are also different. In non-NT Windows,
MYSQL Quick Start: MYSQL command line instructions http://www.bkjia.com/database/201212/173868.htmlMYSQL Entry 2: Search Using Regular Expressions http://www.bkjia.com/database/201212/173869.htmlMYSQL Entry 3: Full Text Search http://www.bkjia.com/database/201212/173873.htmlMYSQL Entry 4: MYSQL Data Types http://www.bkjia.com/database/201212/175536.htmlMYSQL Entry 5: MYSQL Character Set http://www.bkjia.com
created two headers with the BOOTM commandHave done an experiment like this:1:Tftpboot 30008000 A_zimageBootm 300080002:Tftpboot 31000000 B_zimageBootm 31000000Can all start successfullyCorresponding to the second experiment if you change the production b_zimage to-a 0x30008000-e 0x30008040 that is, the kernel's load address is different from the kernel's entry address so tftpboot 31000000 B_zimage;bootm 31000000 That's not going to start.tftpboot xx
Install MongoDB server on Ubuntu
Get the latest version
wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.2.tgz
Unzip to perform
Tar zxvf mongodb-linux-x86_64-2.0.2.tgz
cd/usr/mongodb-linux-x86_64-2.0.2/bin
However, before running, you need to create a directory of data and logs that MongoDB needs:
sudo mkdir-p/data/db/journal
sudo chmod-r 777/data/db/
Start MongoDB Server
./mongod-journal
The CCommandLineInfo class in MFC is used to parse command-line arguments when an app is launched.MFC applications typically create a local instance of this class using the function InitInstance () in its Application object. The object is then passed to CWinApp::P Arsecommandline (), ParseCommandLine () and repeatedly calls ParseParam () to populate the CCommandLineInfo object. Finally, the CCommandLineInfo object is passed to CWinApp::P Rocessshellco
-- The following is a summary of the startup command:
LSNRCTL [Start | stop | status] -- start the listener, stop the listener, and view the listener status;
Net [Start | stop] oracleserviceorcl
1. Independent startup:
Microsoft Windows 2000 [version 5.00.2195](C) Copyright 1985-2000 Microsoft Corp.
###############
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.