Jump to content

Papillion, Nebraska and Df (Unix): Difference between pages

From Wikipedia, the free encyclopedia
(Difference between pages)
Content deleted Content added
 
FlaBot (talk | contribs)
m robot Adding: pt:Df (Unix)
 
Line 1: Line 1:
{{lowercase}}
{{For|the record label|Papillion Records}}
{{Infobox Settlement
|official_name = Papillion, Nebraska
|settlement_type = [[City]]
|nickname =
|motto =


'''<code>df</code>''' (abbreviation for '''''d'''isk '''f'''ree'') is a standard [[Unix]] [[computer program]] used to display the amount of available disk space for [[filesystems]] on which the invoking user has appropriate read access. <tt>df</tt> is usually implemented by reading the [[mtab]] file or using [[statfs]].
<!-- Images -->
|image_skyline =
|imagesize =
|image_caption =
|image_flag =
|image_seal =


<tt>df</tt> first appeared in Version 1 [[AT&T UNIX]].
<!-- Maps -->
|image_map = Sarpy_County_Nebraska_Incorporated_and_Unincorporated_areas_Papillion_Highlighted.svg
|mapsize = 250px
|map_caption = Location of Papillion, Nebraska
|image_map1 =
|mapsize1 =
|map_caption1 =


==Usage==
<!-- Location -->
The [[Single UNIX Specification]] specifications for <tt>df</tt> are:
|subdivision_type = [[List of countries|Country]]
df [-k] [-P|-t] [-del] [file...]
|subdivision_name = [[United States]]
:<tt>-k</tt>
|subdivision_type1 = [[Political divisions of the United States|State]]
::Use 1024-byte units, instead of the default 512-byte units, when writing space figures.
|subdivision_name1 = [[Nebraska]]
:<tt>-P</tt>
|subdivision_type2 = [[List of counties in Nebraska|County]]
::Use a standard, portable, output format
|subdivision_name2 = [[Sarpy County, Nebraska|Sarpy]]
:<tt>-t</tt>
|government_footnotes =
::If [[X/Open System Interfaces Extension|XSI]] compliant, show allocated space as well
|government_type =
:<tt>file</tt>
|leader_title =
::Write the amount of free space of the file system containing the specified file
|leader_name =
|leader_title1 =
|leader_name1 =
|established_title =
|established_date =


Most [[Unix]] and [[Unix-like]] operating systems add extra options. The [[BSD]] and [[GNU coreutils]] versions include <tt>-h</tt>, where free space is listed in human readable format, adding units with the appropriate [[SI prefix]] (eg 10MB), <tt>-i</tt>, listing [[inode]] usage, and <tt>-l</tt>, restricting display to only local filesystems. [[GNU]] <tt>df</tt> includes <tt>-T</tt> as well, listing filesystem type information, but the GNU <tt>df</tt> shows the sizes in 1K blocks by default.
<!-- Area -->
|unit_pref = Imperial
|area_footnotes =


==Specification==
|area_magnitude =
The [[Single Unix Specification]] (SUS) specifies by default space is reported in blocks of 512 bytes, and that at a minimum, the file system names and the amount of free space.
|area_total_km2 = 10.8
|area_land_km2 = 10.8
|area_water_km2 = 0.0
|area_total_sq_mi = 4.2
|area_land_sq_mi = 4.2
|area_water_sq_mi = 0.0


The use of 512-byte units is historical practice and maintains compatibility with <tt>[[ls]]</tt> and other utilities. This does not mandate that the file system itself be based on 512-byte blocks. The <tt>-k</tt> option was added as a compromise measure. It was agreed by the standard developers that 512 bytes was the best default unit because of its complete historical consistency on [[System V]] (versus the mixed 512/1024-byte usage on [[BSD]] systems), and that a <tt>-k</tt> option to switch to 1024-byte units was a good compromise. Users who prefer the more logical 1024-byte quantity can easily <tt>[[Alias (Unix shell)|alias]]</tt> <tt>df</tt> to <tt>df -k</tt> without breaking many historical scripts relying on the 512-byte units.
<!-- Population -->
|population_as_of = [[United States Census, 2000|2000]]
|population_footnotes =
|population_total = 16363
|population_density_km2 = 1516.6
|population_density_sq_mi = 3927.9


The output with -P shall consist of one line of information for each specified file system. These lines shall be formatted as follows:
<!-- General information -->
|timezone = [[North American Central Time Zone|Central (CST)]]
|utc_offset = -6
|timezone_DST = CDT
|utc_offset_DST = -5
|elevation_footnotes =
|elevation_m = 308
|elevation_ft = 1010
|latd = 41 |latm = 9 |lats = 21 |latNS = N
|longd = 96 |longm = 2 |longs = 27 |longEW = W


<tt><fs name>, <total space>, <space used>, <space free>, <percentage used>, <fs root></tt>
<!-- Area/postal codes & others -->
|postal_code_type = [[ZIP code]]s
|postal_code = 68046, 68133, 68157
|area_code = [[Area code 402|402]]
|blank_name = [[Federal Information Processing Standard|FIPS code]]
|blank_info = 31-38295 {{GR|2}}
|blank1_name = [[Geographic Names Information System|GNIS]] feature ID
|blank1_info = 0831967 {{GR|3}}
|website =
|footnotes =
}}
'''Papillion''' is a city in [[Sarpy County, Nebraska|Sarpy County]] in the [[U.S. state]] of [[Nebraska]]. It is the [[county seat]] of [[Sarpy County, Nebraska|Sarpy County]].{{GR|6}} Papillion is a suburb of neighboring [[Omaha, Nebraska|Omaha]]. Local residents use the nickname '''Papio''' to refer to the creek that runs through the city.{{fact|date=December 2007}} The population was 16,363 at the [[2000 United States Census|2000 census]]. In 2007 Papillion was named the #6 best place to live by Money Magazine.<ref>money magazine 2007</ref>


In the following list, all quantities expressed in 512-byte units (1024-byte when -k is specified) shall be rounded up to the next higher unit. The fields are:
== About ==
The town prides itself on recreational areas. Halleck Park is a park in the heart of the town that includes many trails, open spaces, trees and a number of areas of interest next to it including [http://www.papiofunpark.com Papio Fun Park], Papio Bay Aquatic Park, Papio Pool, and Papio Bowl. In addition to trails, trees and much green space, inside the park there are tennis courts, volleyball courts, playgrounds, "The Duck Pond", Monarch Field ("The Pit"), and E.A. Fricke Field. There are also nine other baseball diamonds within the park for youth. The baseball diamonds are spread across three fields: Halleck, Blonde, and Papio Bay. City Park, Papio Bay Aquatic Center (including two water slides and a zero depth pool) and Walnut Creek recreational park round out just a few of the many parks and recreational interest points of the town. The city also has a brand new shopping center called Shadow Lake Towne center. The city is rapidly growing and due to the increase in population, Midlands Hospital is undergoing an expansion to accommadate the city. A new elementary school on the south-west side of the city called Patriot Elementary, has also been recently added to this booming town.


<tt><fs name></tt>
[[Papillion Junior High School]] is located in the old downtown area south of Papio Creek, as is the Old A.W. Clarke banking house, Sump Memorial Library, City Hall, Portal One-Room School House, Papillion Municipal Building (Sarpy County Courthouse until 1970), and the John Sutter House.
:The name of the file system, in an implementation-defined format.
<tt><total space></tt>
:The total size of the file system in 512-byte units. The exact meaning of this figure is implementation-defined, but should include <space used>, <space free>, plus any space reserved by the system not normally available to a user.
<tt><space used></tt>
:The total amount of space allocated to existing files in the file system, in 512-byte units.
<tt><space free></tt>
:The total amount of space available within the file system for the creation of new files by unprivileged users, in 512-byte units. When this figure is less than or equal to zero, it shall not be possible to create any new files on the file system without first deleting others, unless the process has appropriate privileges. The figure written may be less than zero.
<tt><percentage used></tt>
:The percentage of the normally available space that is currently allocated to all files on the file system. This shall be calculated using the fraction:
<tt><space used> / (<space used>+ <space free>)</tt>
:expressed as a percentage. This percentage may be greater than 100 if <space free> is less than zero. The percentage value shall be expressed as a positive integer, with any fractional result causing it to be rounded to the next highest integer.
<tt><fs root></tt>
:The directory below which the file system hierarchy appears.


==Example==
To the south along Highway 370 lies the Sarpy County Court House and Jail, Shadow Lake Shopping Center, and Midlands hospital.
$ df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 32768 16016 52% 2271 14% /
/dev/hd2 4587520 1889420 59% 37791 4% /usr
/dev/hd9var 65536 12032 82% 518 4% /var
/dev/hd3 819200 637832 23% 1829 1% /tmp
/dev/hd1 524288 395848 25% 421 1% /home
/proc - - - - - /proc
/dev/hd10opt 65536 26004 61% 654 4% /opt


== Geography ==
==See also==
* [[List of Unix programs]]
Papillion is located at {{coor dms|41|9|21|N|96|2|27|W|city}} (41.155884, -96.040867).{{GR|1}}

According to the [[United States Census Bureau]], the village has a total area of 4.2&nbsp;[[square mile]]s (10.8&nbsp;[[km²]]), all of it land.

== Demographics ==
As of the [[census]]{{GR|2}} of 2000, there were 16,363 people, 5,505 households, and 4,337 families residing in the village. The [[population density]] was 3,927.9 people per square mile (1,515.1/km²). There were 5,751 housing units at an average density of 1,380.5/sq&nbsp;mi (532.5/km²). The racial makeup of the village was 93.02% [[White (U.S. Census)|White]], 2.46% [[African American (U.S. Census)|African American]], 0.38% [[Native American (U.S. Census)|Native American]], 1.41% [[Asian (U.S. Census)|Asian]], 0.02% [[Pacific Islander (U.S. Census)|Pacific Islander]], 1.00% from [[Race (United States Census)|other races]], and 1.71% from two or more races. [[Hispanic (U.S. Census)|Hispanic]] or [[Latino (U.S. Census)|Latino]] of any race were 2.92% of the population.

There were 5,505 households out of which 46.0% had children under the age of 18 living with them, 67.3% were [[Marriage|married couples]] living together, 8.8% had a female householder with no husband present, and 21.2% were non-families. 17.4% of all households were made up of individuals and 6.2% had someone living alone who was 65 years of age or older. The average household size was 2.90 and the average family size was 3.30.

In the village the population was spread out with 31.6% under the age of 18, 8.2% from 18 to 24, 30.2% from 25 to 44, 22.0% from 45 to 64, and 8.0% who were 65 years of age or older. The median age was 34 years. For every 100 females there were 95.1 males. For every 100 females age 18 and over, there were 92.3 males.

The median income for a household in the village was $63,992, and the median income for a family was $70,737. Males had a median income of $45,678 versus $27,984 for females. The [[per capita income]] for the village was $24,521. About 2.5% of families and 2.7% of the population were below the [[poverty line]], including 2.6% of those under age 18 and 2.3% of those age 65 or over.

The 2006 population estimate is 21,271.[http://factfinder.census.gov/servlet/SAFFPopulation?_event=Search&geo_id=16000US3138295&_geoContext=01000US%7C04000US31%7C16000US3138295&_street=&_county=Papillion&_cityTown=Papillion&_state=04000US31&_zip=&_lang=en&_sse=on&ActiveGeoDiv=geoSelect&_useEV=&pctxt=fph&pgsl=160&_submenuId=population_0&ds_name=null&_ci_nbr=null&qr_name=null&reg=null%3Anull&_keyword=&_industry=] Papillion is predicted to become the 4th largest village in Nebraska by 2020{{Fact|date=December 2007}}

== Schools ==
Papillion is part of the [[Papillion-La Vista Public Schools|Papillion-La Vista Public School District]]. There are two [[high schools]] located in the town. [[Papillion-La Vista South High School]] (built in [[2003]]) is located in southwest Papillion while [[Papillion-La Vista High School]] is located in the north. Papillion has one [[junior high]] and six public [[elementary schools]] in the town. The school district has well over 8,000 students and is one of the fastest growing districts in Nebraska.

== References ==
{{reflist}}


==External links==
==External links==
* [http://www.papillion.org papillion.org] - City of Papillion website
* [http://www.opengroup.org/onlinepubs/009695399/utilities/df.html df] -- specification from the Single Unix Specification
* [http://www.omahawiki.org OmahaWiki.org] - wiki website for the Omaha-Council Bluffs metro area
* [http://www.papillion.ne.us/library/library.htm Sump Memorial Library in Papillion, NE]
* [http://www.visitnebraska.org/myplanner/city.asp?city=Papillion Papillion page on visitnebraska.org]
* [http://money.cnn.com/magazines/moneymag/bplive/2007/snapshots/PL3138295.html CNN Money Best Places to Live 2007]
{{Mapit-US-cityscale|41.155884|-96.040867}}


===Manual pages===
{{Sarpy County, Nebraska}}
* [http://www.gnu.org/software/coreutils/manual/html_node/df-invocation.html df] — manual page from [[GNU]] [[coreutils]]
{{Nebraska}}
* [http://www.openbsd.org/cgi-bin/man.cgi?query=df df] — manual page via [[OpenBSD]]
{{Omaha-Council Bluffs metro}}
*[http://www.linfo.org/df.html The df Command] - by The Linux Information Project (LINFO)


{{unix commands}}
[[Category:Sarpy County, Nebraska]]
[[Category:Cities in Nebraska]]
[[Category:Unix software]] [[Category:Standard Unix programs]]
[[Category:History of Omaha by community area]]
[[Category:County seats in Nebraska]]


[[da:Papillion]]
[[cs:Df (Unix)]]
[[fr:Papillion]]
[[fr:Df (Unix)]]
[[ia:Papillion]]
[[it:Df (Unix)]]
[[pl:Df]]
[[ht:Papillion, Nebraska]]
[[nl:Papillion]]
[[pt:Df (Unix)]]
[[pt:Papillion]]
[[ru:Df]]
[[vo:Papillion]]

Revision as of 19:09, 13 October 2008


df (abbreviation for disk free) is a standard Unix computer program used to display the amount of available disk space for filesystems on which the invoking user has appropriate read access. df is usually implemented by reading the mtab file or using statfs.

df first appeared in Version 1 AT&T UNIX.

Usage

The Single UNIX Specification specifications for df are:

df [-k] [-P|-t] [-del] [file...]
-k
Use 1024-byte units, instead of the default 512-byte units, when writing space figures.
-P
Use a standard, portable, output format
-t
If XSI compliant, show allocated space as well
file
Write the amount of free space of the file system containing the specified file

Most Unix and Unix-like operating systems add extra options. The BSD and GNU coreutils versions include -h, where free space is listed in human readable format, adding units with the appropriate SI prefix (eg 10MB), -i, listing inode usage, and -l, restricting display to only local filesystems. GNU df includes -T as well, listing filesystem type information, but the GNU df shows the sizes in 1K blocks by default.

Specification

The Single Unix Specification (SUS) specifies by default space is reported in blocks of 512 bytes, and that at a minimum, the file system names and the amount of free space.

The use of 512-byte units is historical practice and maintains compatibility with ls and other utilities. This does not mandate that the file system itself be based on 512-byte blocks. The -k option was added as a compromise measure. It was agreed by the standard developers that 512 bytes was the best default unit because of its complete historical consistency on System V (versus the mixed 512/1024-byte usage on BSD systems), and that a -k option to switch to 1024-byte units was a good compromise. Users who prefer the more logical 1024-byte quantity can easily alias df to df -k without breaking many historical scripts relying on the 512-byte units.

The output with -P shall consist of one line of information for each specified file system. These lines shall be formatted as follows:

<fs name>, <total space>, <space used>, <space free>, <percentage used>, <fs root>

In the following list, all quantities expressed in 512-byte units (1024-byte when -k is specified) shall be rounded up to the next higher unit. The fields are:

<fs name>

The name of the file system, in an implementation-defined format.

<total space>

The total size of the file system in 512-byte units. The exact meaning of this figure is implementation-defined, but should include <space used>, <space free>, plus any space reserved by the system not normally available to a user.

<space used>

The total amount of space allocated to existing files in the file system, in 512-byte units.

<space free>

The total amount of space available within the file system for the creation of new files by unprivileged users, in 512-byte units. When this figure is less than or equal to zero, it shall not be possible to create any new files on the file system without first deleting others, unless the process has appropriate privileges. The figure written may be less than zero.

<percentage used>

The percentage of the normally available space that is currently allocated to all files on the file system. This shall be calculated using the fraction:

<space used> / (<space used>+ <space free>)

expressed as a percentage. This percentage may be greater than 100 if <space free> is less than zero. The percentage value shall be expressed as a positive integer, with any fractional result causing it to be rounded to the next highest integer.

<fs root>

The directory below which the file system hierarchy appears.

Example

$ df -k
Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4            32768     16016   52%     2271    14% /
/dev/hd2          4587520   1889420   59%    37791     4% /usr
/dev/hd9var         65536     12032   82%      518     4% /var
/dev/hd3           819200    637832   23%     1829     1% /tmp
/dev/hd1           524288    395848   25%      421     1% /home
/proc                   -         -    -         -     -  /proc
/dev/hd10opt        65536     26004   61%      654     4% /opt

See also

External links

  • df -- specification from the Single Unix Specification

Manual pages