Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | protected function execute(InputInterface $input, OutputInterface $output) |
||
35 | { |
||
36 | $this->ensureExtensionLoaded('apc'); |
||
37 | |||
38 | $sma = $this->getCacheTool()->apc_sma_info(true); |
||
39 | |||
40 | $output->writeln(sprintf("<comment>Segments: <info>%s</info></comment>", $sma['num_seg'])); |
||
41 | $output->writeln(sprintf("<comment>Segment size: <info>%s</info></comment>", Formatter::bytes($sma['seg_size']))); |
||
42 | $output->writeln(sprintf("<comment>Available memory: <info>%s</info></comment>", Formatter::bytes($sma['avail_mem']))); |
||
43 | } |
||
44 | } |
||
45 |