A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Untitled - Stikked
From Burly Butterfly, 13 Years ago, written in PowerShell.
Embed
  1. #=================================================================================
  2. # Note: The performance information displayed by these counters are the
  3. #       current values only, they do not show trends. This information
  4. #       should be used as a measurement only of the current system state.
  5. #=================================================================================
  6.  
  7. #   Retrieve the current Disk performance counter information.
  8. $computer         = $ENV:Computername
  9. $instance         = "_total"
  10. $path             = C:\Users\Administrator\Desktop\PowerShell\get-counters.html
  11.  
  12. @("\\$Computer\LogicalDisk(*)\% Free Space",
  13.   "\\$Computer\PhysicalDisk(*)\Current Disk Queue Length",
  14.   "\\$Computer\PhysicalDisk(*)\% Disk Time",
  15.   "\\$Computer\PhysicalDisk(*)\Avg. Disk Queue Length",
  16.   "\\$Computer\PhysicalDisk(*)\Avg. Disk Read Queue Length",
  17.   "\\$Computer\PhysicalDisk(*)\Avg. Disk Write Queue Length",
  18.   "\\$Computer\PhysicalDisk(*)\Avg. Disk sec/Transfer",
  19.   "\\$Computer\PhysicalDisk(*)\Avg. Disk sec/Read",
  20.   "\\$Computer\PhysicalDisk(*)\Avg. Disk sec/Write",
  21.   "\\$Computer\PhysicalDisk(*)\Disk Transfers/sec",
  22.   "\\$Computer\Processor(*)\% Processor Time",
  23.   "\\$Computer\Processor(*)\% User Time",
  24.   "\\$Computer\Processor(*)\% Privileged Time",
  25.   "\\$Computer\Processor(*)\Interrupts/sec",
  26.   "\\$Computer\Processor(*)\% DPC Time",
  27.   "\\$Computer\Processor(*)\DPCs Queued/sec"
  28.   "\\$Computer\Processor(*)\% Idle Time",
  29.   "\\$Computer\Processor(*)\% Interrupt Time",
  30.   "\\$Computer\Memory\Page Faults/sec",
  31.   "\\$Computer\Memory\Available Bytes",
  32.   "\\$Computer\Memory\Committed Bytes",
  33.   "\\$Computer\Memory\Commit Limit",
  34.   "\\$Computer\Memory\Pages/sec",
  35.   "\\$Computer\Memory\Free System Page Table Entries",
  36.   "\\$Computer\Memory\Pool Paged Resident Bytes",
  37.   "\\$Computer\Memory\Available MBytes") |% {
  38.     (Get-Counter $_.replace("*",$instance)).CounterSamples } |
  39.     Select-Object Path,CookedValue |
  40.     ConvertTo-HTML > $path
  41.      
  42.     #UTF8    
  43.     (Get-Content -path $path) | Set-Content -Encoding UTF8 -Path $path
  44.  
  45. #================================================================================================
  46. #The following examples shows how to list the available paths to query for several counter sets
  47. #================================================================================================
  48. #$PhysCounter  = get-counter -ListSet PhysicalDisk
  49. #$PhysCounter.Paths > C:\test.txt
  50.  
  51. #Memory Counters
  52. #$MemCounter   = get-counter -ListSet Memory
  53. #$MemCounter.Paths
  54.  
  55. #CPU Counters
  56. #$CpuCounter   = get-counter -ListSet Processor
  57. #$CpuCounter.Paths
  58.  
  59. #$ListSets = get-counter -ListSet *
  60. #$ListSets > C:\test.txt

Replies to Untitled rss

Title Name Language When
Re: Untitled Scanty Frog text 13 Years ago.