select count(*) from v$process --当前的连接数 select value from v$parameter where name = 'processes' --数据库允许的最大连接数 *修改最大连接数:alter system set processes = 300 scope = spfile *重启数据库:shutdown immediatestartup 附加: 查看oracle用户以及权限:select * from user_role_privs 查看…
端口连接数: public static int PortTcpConnection(int port) { IPGlobalProperties properti = IPGlobalProperties.GetIPGlobalProperties(); var tcps = properti.GetActiveTcpConnections().ToList(); var list = tcps.Where(f => f.LocalEndPoint.Port == port); var ipl…