Figure 2.A. RoleThe free command is used to display memory usage, and the use of permissions is for all users.B. Formatfree [-b|-k|-m] [-O] [-s delay] [-t] [-v]C. Main parameters-b-k-M: Displays memory usage in bytes (KB, MB), respectively.-S delay: Displays the number of seconds per second to show memory usage.-T: Displays the memory sum column.-O: Do not display buffer throttling columns.D. Application examplesThe free command is the primary command used to view memory usage. Compared to the
This is where you use a LIUNX command to view disk space
Df:disk Free http://www.cnblogs.com/chenwenbiao/archive/2011/08/07/2129831.html
Common parameters: Df-h
-------------------------------------
1. Restart the Postgre under Linux
Pg_ctl Restart (postgres user)
Today's problems
Because the data is imported, the database keeps generating backup files, which fills up the space
Cannot continue to boot.
Workaround:
The directory structure where the b
Http://www.cnblogs.com/itech/archive/2012/05/15/2502284.html
The DF command is used to display the available disk space on a disk partition. The default display unit is KB. You can use this command to get how much space the hard disk is occupied and how much space is left.
When the system disk is full, the most common command to view system space is df-i display inode information Di-ah m for the unit displa
Click Back to learn the path of the Linux command line and shell script4.2-Monitoring disk space Mount Umount DF dulsThe command is used to display a list of file directories, Windows similar to the commands under the system DOS dir . When you execute a ls command, the default display is only the file name of the non-hidden files, the sort by file name, and the color displayed by the file name.List information for the current directory is listed by de
DfFunctionDisplays the maximum available space and usage for all current file systemsParameters-A: Displays all file systems and disk usage for each partition-I: Show i-nodes usage-K: size is represented by K (default value)-T: Displays all partition disk usage for one file system-X: Displays all partition disk usage that are not a single file system-T: Displays the name of the file system to which each partition belongsDuFunctionQuery disk usage space for a file or directoryParameters-A: Displa
breakpoint continues to upload a file to prevent network interruption when downloading large filesWget-b URL: Download a file in the background, tail-f wget-log View Download Progresswget--user-agent= "XXX" URL: Use pseudo proxy name to downloadwget--tries=40 URL: Download a file, failed to retry 40 timeswget--reject=gif URL: Download a file, but do not download GIF files for filtering the specified formatWget-o Download.log URL: Writes the download log to Download.logwget--ftp-user=username--f
breakpoint continues to upload a file to prevent network interruption when downloading large filesWget-b URL: Download a file in the background, tail-f wget-log View Download Progresswget--user-agent= "XXX" URL: Use pseudo proxy name to downloadwget--tries=40 URL: Download a file, failed to retry 40 timeswget--reject=gif URL: Download a file, but do not download GIF files for filtering the specified formatWget-o Download.log URL: Writes the download log to Download.logwget--ftp-user=username--f
1 DF Command
Used to view the size of each partition of the disk, used, available, mount point, and so on, remember oh is to view the partitions OH
2 du command
Lists the total size of a directory, which includes the size of the directory itself, as well as all of the files in the directory, as shown in the following list
3 ln to establish soft links with hard links
When you establish a hard link, you do this by adding an Inode: Document name to t
Description: filezilla is a free and open-source FTP client software. It can be divided into client and server versions and has all FTP software functions. the controllable and organized interface and simplified method for managing multiple sites
None is a mount point without a specific partition. In fact, some special Russian files are mounted. The details are as follows: udev->/Dev is the system's device file. The hardware device found at startup is stored as a file here. Each device file
When configuring the ISIS-TE met a pile of mpls dste command, or understand the good DSTE, read a afternoon no clue, this article writes the relationship of DSCP-PHB is quite clear, let's take a look ~~
DSCP (Differentiated Services CodePoint)
Reprint please indicate the source: Http://my.csdn.NET/ye_shen_wei_mian
Recently in an open source code to contact the probability density function, the probability density function is normal (Gaussian) distribution, is based on boost library
Profile:The database object index is very similar to the book's directory, mainly to improve the speed of retrieving data from the table.Because the data is stored in a database table, the index is created on a database table object, consisting of a
MySQL data types are divided into:Integer type, floating-point type, fixed-point number typeDate and Time typeString typeBinary typeInteger type byte number unsigned number value range signed number rangeTINYINT 1 0-255-128-127SMALLINT 2 0-65535-3276
DF is used to view the currently mounted file system-A View all file systemsYou can specify your own capacity unit,-BM-BG but the option of H is good-I view Inode usage information-L (L) displays the local file system--output can specify which
array ([[3, 4], [6, 7])
After understanding the step slice, the two-dimensional and three-dimensional aspects have the same good understanding, and are not as complicated as the step.You can also copy the sliced elements.
>>> B [1:,: 2] = 1 # broadcast assignment >>> barray ([[0, 1, 2], [1, 1, 5], [1, 1, 8]) >>> B [1:,: 2]. shape (2L, 2L) >>> B [1:,: 2] = np. arange (2, 6 ). reshape () # corresponding value >>> barray ([[0, 1, 2], [2, 3, 5], [4, 5, 8])
Similarly, sequence [start1: end1, start2:
series data set to illustrate the indexing function:In [1]: Dates = pd.date_range (' 1/1/2000 ', periods=8) in [2]: df = PD. DataFrame (NP.RANDOM.RANDN (8, 4), index=dates, columns=[' A ', ' B ', ' C ', ' D ']) in [3]: DF out[3]: A B C D 2000-01-01 0.469112 -0.282863-1.509059-1.135632 2000-01-02 1.212112-0.173215 0.119209-1.044236 2000-01-03-0.861849-2.104569-0.494929 1 .071804 2000-01-04 0.721555-0.706771
browsing data. The default value is 5.
Df. sample (n): Randomly browses n rows of data. The default value is 5 rows.
Df. shape: the number of rows and columns of the tuple type)
Df. describe (): Calculate the evaluation data Trend
Df.info (): memory and Data Type
3. It is easy to add columns to DataFrame in DataFrame. The following describes several methods.
Python pandas usage Daquan, pythonpandas Daquan
1. Generate a data table
1. Import the pandas database first. Generally, the numpy database is used. Therefore, import the database first:
import numpy as npimport pandas as pd
2. Import CSV or xlsx files:
df = pd.DataFrame(pd.read_csv('name.csv',header=1))df = pd.DataFrame(pd.read_excel('name.xlsx'))
3. Create a data table with pandas:
[26]: Beijing 80000.0Hangzhou 60000.0Nanjing NaNShanghai 70000.0Suzhou NaN
The index of Series can be modified locally through replication.
In [27]: obj.index = ['Bob', 'Steve', 'Jeff', 'Ryan']In [28]: objOut[28]: Bob 4Steve 7Jeff -5Ryan 3
DataFrame
Pandas reads files
In [29]: df = pd.read_table('pandas_test.txt',sep=' ', names=['name', 'age'])In [30]: dfOut[30]: name age0 Bob 261 Loya 222 Denny 203 Mars 25
DataFrame column selection
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.