摘要: #!/bin/bash while true do DATE=`date "+%Y-%m-%d %H:%M:%S"` echo " \033[41;36m CPU使用率 ($DATE)\033[0m " sleep 1 echo "正在获取.........." sleep 1 echo "正在获取 阅读全文
posted @ 2020-08-24 11:39 石shi 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 工厂创建类: public class CacheFactory { private static ICache cache = null; private static readonly object lockHelper = new object(); public static ICache 阅读全文
posted @ 2020-08-24 11:36 石shi 阅读(668) 评论(0) 推荐(0) 编辑