MEMUSAGE 열을 줄이거 나 늘리는 방법을 알고 싶었습니다. 내가 답을 찾지 못했습니다 아직도 웹을 통해 검색하고, 내가 가진 가장 가까운 지점이 있었다 :명령 프롬프트에서 작업 목록을 정렬하는 방법은 무엇입니까?
tasklist | sort
를하지만 종류의/분을 사용하려고하면 ... :
tasklist | sort /m
Invalid switch.
도움 주셔서 감사합니다.
MEMUSAGE 열을 줄이거 나 늘리는 방법을 알고 싶었습니다. 내가 답을 찾지 못했습니다 아직도 웹을 통해 검색하고, 내가 가진 가장 가까운 지점이 있었다 :명령 프롬프트에서 작업 목록을 정렬하는 방법은 무엇입니까?
tasklist | sort
를하지만 종류의/분을 사용하려고하면 ... :
tasklist | sort /m
Invalid switch.
도움 주셔서 감사합니다.
C:\> tasklist | sort /R /+58
마법 번호 58
은 출력에 따라 다릅니다.
58
열의 문자에 따라 파일을 정렬합니다 (보장하지 않음).
SORT로 파이핑하기 전에 TASKLIST에서/NH 옵션을 사용하십시오. 이렇게하면 SORT를 사용하는 테이블 헤더가 표시되지 않습니다.
TASKLIST /NH | SORT
정렬 열 번호가 누락되었습니다. SORT/+ 65'는 최소 크기에서 최대 크기로 정렬하는데, 적어도 Win8에서는'/ R'을 가장 큰 것부터 가장 작은 것으로 정렬합니다. – foxidrive
사실, 당신이 할 필요가 입력되어 다음
tasklist | sort (This will sort the list items in ascending order)
tasklist | sort /R (This will sort the list items in descending order)
사용자가 입력하는 경우 : 종류 /? 당신은/R은 내림차순으로 항목을 나열 곳 자세한 내용은 아래를 참조 볼 수 있습니다
C:\windows\system32>sort /?
SORT [/R] [/+n] [/M kilobytes] [/L locale] [/REC recordbytes]
[[drive1:][path1]filename1] [/T [drive2:][path2]]
[/O [drive3:][path3]filename3]
/+n Specifies the character number, n, to
begin each comparison. /+3 indicates that
each comparison should begin at the 3rd
character in each line. Lines with fewer
than n characters collate before other lines.
By default comparisons start at the first
character in each line.
/L[OCALE] locale Overrides the system default locale with
the specified one. The ""C"" locale yields
the fastest collating sequence and is
currently the only alternative. The sort
is always case insensitive.
/M[EMORY] kilobytes Specifies amount of main memory to use for
the sort, in kilobytes. The memory size is
always constrained to be a minimum of 160
kilobytes. If the memory size is specified
the exact amount will be used for the sort,
regardless of how much main memory is
available.
The best performance is usually achieved by
not specifying a memory size. By default the
sort will be done with one pass (no temporary
file) if it fits in the default maximum
memory size, otherwise the sort will be done
in two passes (with the partially sorted data
being stored in a temporary file) such that
the amounts of memory used for both the sort
and merge passes are equal. The default
maximum memory size is 90% of available main
memory if both the input and output are
files, and 45% of main memory otherwise.
/REC[ORD_MAXIMUM] characters Specifies the maximum number of characters
in a record (default 4096, maximum 65535).
/R[EVERSE] Reverses the sort order; that is,
sorts Z to A, then 9 to 0.
[drive1:][path1]filename1 Specifies the file to be sorted. If not
specified, the standard input is sorted.
Specifying the input file is faster than
redirecting the same file as standard input.
/T[EMPORARY]
[drive2:][path2] Specifies the path of the directory to hold
the sort's working storage, in case the data
does not fit in main memory. The default is
to use the system temporary directory.
/O[UTPUT]
[drive3:][path3]filename3 Specifies the file where the sorted input is
to be stored. If not specified, the data is
written to the standard output. Specifying
the output file is faster than redirecting
standard output to the same file.
이것은 윈도우 2008 서버와 윈도우 7 SP1
확인을 테스트했습니다, 그래서 내 메시지를 무시하지 않았다 질문을 올바르게 읽으십시오. 나는 그들이 오름차순 또는 내림차순으로 작업 목록 정렬을하기위한 것이라고 생각했습니다.
tasklist | sort /+58
/R은 내림차순으로 항목을 나열 종류의 이야기 : 그들은 그것을 아래처럼 될 것 오름차순으로 메모리의 열을 나열하기를 원한다면 내가 그 불구하고 추가 할 수
.
당신은 그것이 58 번째 인 것을 어떻게 알았습니까? – Slackware
Windows 8.1에서는 50MB를 넘는 태스크를 필터링하고 내림차순으로 정렬했습니다. 'tasklist/fi "memusage gt 50000"| sort/r/+ 65' – bdwakefield